Loans | Homeowner Loans | Car Insurance | Adverse Credit Remortgage | Online Loans
Dos batch file output to log file [Archive] - PCMech Forums

PDA

View Full Version : Dos batch file output to log file


manchauser
10-30-2000, 04:30 PM
I am running a batch file to copy the files from my vpn server to my local disk. If I run the batch file with the verbose switch I can ensure the files have been copied. How would I have the verbose comments written to a log file to ensure the files copied on a certain day?

mosquito
10-31-2000, 02:58 AM
pipe the resuls to a flat file

echo Starting Procedure >error.log
yourcommand >>error.log

this will create a log file.

I'm not sure if this is what you want