XCopy problem
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.
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
Any help would be appreciated.
Alan
Participate on our website and join the conversation
This topic is archived. New comments cannot be posted and votes cannot be cast.
Responses to this topic
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
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).
"
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
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).
"
I use robocopy frequently to synchronize my USB drives.
Robocopy is included in the NT4/2000/2003 Resource kits.
http://www.microsoft.com/downloads/detai...;displaylang=en
By default it keeps the timestamps of the source file.
There is also XXCOPY
http://www.xxcopy.com/index.htm#summary
Robocopy vs XXCOPY
http://www.xxcopy.com/xxcopy30.htm
Robocopy is included in the NT4/2000/2003 Resource kits.
http://www.microsoft.com/downloads/detai...;displaylang=en
By default it keeps the timestamps of the source file.
There is also XXCOPY
http://www.xxcopy.com/index.htm#summary
Robocopy vs XXCOPY
http://www.xxcopy.com/xxcopy30.htm