Hi All,
I want to have a log of the below batch script i wrote and can't seem to find a way to create it.
start /wait /b xcopy "z:\*.id" "c:\notes\data" /d /L /y >> "C:\Documents and Settings\Administrator\Desktop\ID_Log.txt"
echo. |time |find "current" >> log
echo. |date |find "current" >> log
I have managed to get the files that are copied into a log file, but i would like have the output of the batch file with a date stamp saved into a log file.
please keep in mind this is my first ever attempt to writing a batch script, i am open to any suggestions. Perhpas my approach is wrong or there is a better way of doing this.
Thanks in advance for any assistance or tips.