You need to add some Echos there m8 ;)
if you do:
it will be added to your %newbatch% :)
And as Annikk just said: For the part where we create the .bat file, note that the first line uses a single > whereas all subsequent lines use a >>
A single > means "Write this text to the file, overwriting the file if it exists"
A double >> means "APPEND this text to the file, do not overwrite"
if you do:
Code
echo text here WOOOOH > %newbatch%
echo more text i want in the batch file >> %newbatch%it will be added to your %newbatch% :)
And as Annikk just said: For the part where we create the .bat file, note that the first line uses a single > whereas all subsequent lines use a >>
A single > means "Write this text to the file, overwriting the file if it exists"
A double >> means "APPEND this text to the file, do not overwrite"
