Update bat_generate.sh

convert bat shell from unix to window format