Jump to content
Compatible Support Forums
Sign in to follow this  
areid

XCopy problem

Recommended Posts

I have created a backup batch file using the XCOPY command, and it works fine, except for the fact that the files copied to a CD all contain date and timestamps of when they were copied. Has anyone any idea how to keep the original date and time? As far as I can see there are no switches which allow me to do this.

 

Any help would be appreciated.

 

Alan

 

Share this post


Link to post

Hi Alan,

 

Try this

 

http://files.chatnfiles.com/The%20Pier%20Shareware%206/016/files.htm

 

Scroll to the bottom of the page and download ZCPY31.ZIP (44KB)

 

I tested it and it appears to work.

 

First I created two directories- "1" and "2" in the root C:\.

I copied some files into folder 1.

 

Then I executed this:

 

zcopy c:\1\*.* c:\2 /U

 

Everything in my folder 1 was copied to folder 2, retaining the timestamp smile

 

btw- the URL above indicates shareware- I cant see any indication of shareware since the readme file says:

 

" ZCOPY is here-by placed in Public Domain and can be considered freeware, ZCOPY may not be sold, hired, leased or modified, it may be freely copied as a complete package, usage of ZCOPY in commercial environments is only permitted with explicit approvement of the Author of ZCOPY (Chris Buijs).

"

 

laugh

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×