Problems with date checking on xcopy

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.
 
P

Pegasus \(MVP\)

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top