General discussion
-
Topic
-
AT bat script
LockedI need to a script that runs from 8 – 5PM. This is what it suppose to do:
1- Run from NTSVR1.
2- Check for a filename (ie. test.log) under certain directory on WKS1 to see if it exists. If exists, check if accessible(not locked/using).
2- If accessible, rename \\NTSVR1\dir\test.log to \\NTSVR1\dir1\test0407200.log.
3- Copy \\WKS1\dir\test.log to \\NTSVR1\dir\test.log.
Any ideas on how to accomplish this?
Appreciate any info!
All Comments
Viewing 2 reply threads