Question Locked

Windows Script program (may be?)

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hello Gurus,

I have a requirement to make copies of a file from A folder to multiple folders in the same server. What is the best way of doing this? Windows Script???? this program needs to be scheduled for every 10 minutes on the server. And also I need some kind of monintoring to keep track. If this program fails for some reason, someone needs to be notified. Can we use Windows batch scheduler for this??

I am not a developer and so looking for some help in finding the good solution for this task. If there is any code sample, that will be very helpful.

thanks in advance...Hari

4 replies

by scott_heath

I would use the Task Scheduler as suggested by the other poster. But I would write your script in vbscript not batch. You can test for errors and have it write messages to a log, and you can also use the CDO object to send an email to your SMTP server if there is an issue. I use this method all the time. If you feel like you need a code sample I can supply one later tonight or tomorrow.

by chris910

I am a fan of Microsofts unsupported Power tool call SyncToy.
http://tinyurl.com/7dlru

But RoboCopy may provide more flexability. here is the link to a technet article on RoboCopy.

This discussion is closed to new replies.