0

I accidentally applied/copied wrong timestamps on a list of directories, and I would now like to copy timestamps from a file in the folder and apply it to the directory, e.g.: c:\myfiles\backup\file.txt

I need to apply "date modified" attribute/info from file.txt to c:\myfiles\backup and c:\myfiles

karel
  • 13,706

1 Answers1

0

You could check the solution offered here which uses a third party utility called File Date Touch to do what you want to do.

Addition: Here you can find a VBScript solution to the above problem. Shouldn't be too difficult to modify the script to accept and read a file containing the file/folder name.

Hope that helps...

JSanchez
  • 1,712