U
urs
I'm running a *.BAT file via Task Scheduler every 20 minutes. The batch
file does some file copies to a backup server.
The problem is, if a copy ends with errors, I won't get notified. What
I would like is the batch file to report any errors to the Event Log.
Is there a way to write to the event log from a batch file? Or can the
Task Scheduler be told to write any errors to the event log?
Thanks for any help
Urs
file does some file copies to a backup server.
The problem is, if a copy ends with errors, I won't get notified. What
I would like is the batch file to report any errors to the Event Log.
Is there a way to write to the event log from a batch file? Or can the
Task Scheduler be told to write any errors to the event log?
Thanks for any help
Urs