I've come across another problem with this......
echo echo Hello World >> a1.bat
echo pause>nul >> a1.bat
...
appears to work fine, but when I call or start a1.bat it is just "pause" instead of "pause>nul". Is there anyway to get it to say "pause>nul" through the format above? And if not, is there anyway I can do this that is automated?
Thx!