Windows NT Script - TechRepublic
General discussion
April 23, 2000 at 03:47 PM
teo

Windows NT Script

by teo . Updated 25 years, 9 months ago

I am trying to write a script to do the following tasks when a user logon to a server :

1 Compare the datestamp of 2 files (file1 and file2) from 2 different directories on the server (dir1 and dir2)

2 If file2 datestamp from dir2 is later than file1 datestamp from dir1, copy all files from dir2 to local workstation temp directory

3 Copy file2 from dir2 to file1 from dir1 (To overwrite file1 with file2)

How can I do it ?

Thank you

This discussion is locked

All Comments