|
Answer» I'm TRYING to CREATE a batch file that outputs to another batch file. The problem is, it doesn't like this line: echo echo. %%date%% - %%time%% >> dedserver1.log >> server1.bat
It doesn't like this because it is trying to OUTPUT to a file TWICE. My problem is that I can't seem to FIND a way to comment out the first >> once so that server1.bat contains: echo. %date% - %time% >> dedserver1.log
Any help would be greatly appreciated.I found the answer a few pages back (carrot nulls characters). I might have some more questions soon though. Try the echo command first, then type the rest of the line in afterwards. Sometimes, the prompt cannot read all of that at once.
|