Saving a batch file output

Associate
Joined
16 Mar 2004
Posts
1,920
Location
Oxford
I have recently produced a batch file to copy the contents of one disk to another over the network; however is it possible to add to this batch file so that it saves a text file of all the actions that have taken place to a location over the network?
 
Thanks for your help, I have just managed to get it to save to a text file using a slightly different method.

Code:
>\\hdd1\backup-txt\batchfileoutput.txt

Pretty simple really! However is it possible to add the time and date to the text file so that I can view the text file and see when it was created.

For example at the end of the file it says:

Code:
11612 File(s) copied

Time/Date Goes Here
 
Back
Top Bottom