Generates cmd file for windows.