AT bat script - TechRepublic
General discussion
April 7, 2000 at 12:46 PM
netwill

AT bat script

by netwill . Updated 26 years ago

I 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!

This discussion is locked

All Comments