Problems with date checking on xcopy

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm trying to use xcopy to update files on mapped drives and limit the copy
to files newer than a specified date.

Using the /d:m-d-y qualifier, this seems to work on local folders, but it
does not appear to work on mapped drives.

xcopy m:\main\*.* n:\main /d:07-27-06

When I execute xcopy, it always copies files that are older than the /d
date, even if they already exist in the destination folder.
 
mkyp said:
I'm trying to use xcopy to update files on mapped drives and limit the copy
to files newer than a specified date.

Using the /d:m-d-y qualifier, this seems to work on local folders, but it
does not appear to work on mapped drives.

xcopy m:\main\*.* n:\main /d:07-27-06

When I execute xcopy, it always copies files that are older than the /d
date, even if they already exist in the destination folder.

Maybe the share is hosted on a machine with a differen operating
system that uses a different format for the date stamp.
 
Back
Top