Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Compare Modified Date on 2 files

Status
Not open for further replies.

wpj88

MIS
Oct 14, 2001
4
I need to compare the modified date on 2 files, and replace the 2nd file if the 1st is newer.
 
Take a look at the FileSystemObject and pay attention to the DateLastModified Property of the File object.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
I'm new to scripting. Would you have a example that you would care to share?

thanks,
 
Wellcome to Tek-Tips.
Do a keyword search in this forum for DateLastModified

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top