[PD] How do I write a batch file?