A
Aidan Whitehall
This is for a batch file that runs on XP... apologies if this is
strictly a Win2000-only group, but couldn't find a "scripting'" group
under microsoft.public.windowsxp...
I'm using a batch file to echo multiple lines into a file, like so:
echo blah blah >"C:\somefile.txt"
echo blah blah >>"C:\somefile.txt"
echo blah blah >>"C:\somefile.txt"
but the line
echo command blah blah >>"C:\somefile.txt"
isn't being added to somefile.txt. I've tried
echo ^command blah blah >>"C:\somefile.txt"
but still no joy.
Does anyone know how to escape the string "command" such that the line
will be appended to the text file?
Thanks!
strictly a Win2000-only group, but couldn't find a "scripting'" group
under microsoft.public.windowsxp...
I'm using a batch file to echo multiple lines into a file, like so:
echo blah blah >"C:\somefile.txt"
echo blah blah >>"C:\somefile.txt"
echo blah blah >>"C:\somefile.txt"
but the line
echo command blah blah >>"C:\somefile.txt"
isn't being added to somefile.txt. I've tried
echo ^command blah blah >>"C:\somefile.txt"
but still no joy.
Does anyone know how to escape the string "command" such that the line
will be appended to the text file?
Thanks!