troubleshooting Question

Login Script that Checks Age of File and Updates with Newer Version if Necessary

Avatar of tommyboy115
tommyboy115Flag for United States of America asked on
Active DirectoryWindows Server 2008
30 Comments1 Solution824 ViewsLast Modified:
I need to create a login scipt for Windows Server 2008R2 that will do the following:

1. Check 'Date Modified' of file (c:\test.txt)
2. Compare age of that file to user's copy (c:\userfolder\test.txt)
3. If the user's copy is older, overwrite it with the newer file.

This is probably wishful thinking, but it would be great if a dialog box could pop up saying their file is being updated.

Thanks!

Tom
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 30 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 30 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros