Sync directory Timestamps in Windows

qwertyiopqwertyiop Member Posts: 725 ■■■□□□□□□□
Is there a way to sync the timestamps of directory's of Server1 to Server 2?

Server1 has all of the original files and I need the timestamps on Server2 to be the same as in Server1.

Can anybody think of a script of program that can do this?

Comments

  • MentholMooseMentholMoose Member Posts: 1,525 ■■■■■■■■□□
    Robocopy will do it.
    MentholMoose
    MCSA 2003, LFCS, LFCE (expired), VCP6-DCV
  • qwertyiopqwertyiop Member Posts: 725 ■■■□□□□□□□
    Robocopy will do it.

    I wish it was that simple I have used the script below and havent gotten much:
    robocopy.exe "F:\old_AD-MASTER\Applications\Applications" "\\bed-fs1\man_fs1\Applications" /sec /e /dcopy:t /mir


    I even tried addiing the /timfix switch and its a no go.

    The files have the correct timestamps but I need the folders to match up correctly. Right now robocopy is giving the modified date create date the same date and they are definitely different on the source.
Sign In or Register to comment.