fix windows batch file and add some comments