how to u prepare a batch file?