Need App to Copy Files & Keep Date Stamp

whoster69

Member
Apr 26, 2003
69
0
0
I'm getting ready to transfer a bunch of files between two PCs over a network. I need to move them and have them keep their current date stamp. It would also be nice if there was a way to have it assume yes on all questions (like "are you sure you want to move a read only file" etc.)

Does anyone know of a utility that will do this and where I can get it?

Thanks!
 

EagleKeeper

Discussion Club Moderator<br>Elite Member
Staff member
Oct 30, 2000
42,589
5
0
Originally posted by: whoster69
I'm getting ready to transfer a bunch of files between two PCs over a network. I need to move them and have them keep their current date stamp. It would also be nice if there was a way to have it assume yes on all questions (like "are you sure you want to move a read only file" etc.)

Does anyone know of a utility that will do this and where I can get it?

Thanks!

Command.com
xcopy /?

 

DaveSimmons

Elite Member
Aug 12, 2001
40,730
670
126
you could also Zip them and copy the zip instead. This also acts as a check that the files transferred correctly since zip archives include data corruption checking.
 

whoster69

Member
Apr 26, 2003
69
0
0
I've tried using Xcopy and for the life of me I can get it to work. I've been using the following and it just gives me errors:

xcopy C:\Documents and Settings\Snoopy\Desktop\TEST\*.* \\Shoeshineboy\desktop /E/C/L/I/H/R/Y/Z

 

DaveSimmons

Elite Member
Aug 12, 2001
40,730
670
126
are you putting the first path in quotes?

xcopy "c:\Documents and Settings\Snoopy\Desktop\TEST\*.*"

command prompt can't handle a path with spaces unless you quote it
 

whoster69

Member
Apr 26, 2003
69
0
0
Originally posted by: DaveSimmons
are you putting the first path in quotes?

xcopy "c:\Documents and Settings\Snoopy\Desktop\TEST\*.*"

command prompt can't handle a path with spaces unless you quote it

Boy I must be tired! I completely forgot about that.

Thanks! I'll see if this fixes it.

 

whoster69

Member
Apr 26, 2003
69
0
0
OK, that did get it to work, sort of. The files now copy but the folders (directories) all have new dates (instead of the old dates. Is there a way to fix this so I can keep the original dates?

Thanks.
 

EagleKeeper

Discussion Club Moderator<br>Elite Member
Staff member
Oct 30, 2000
42,589
5
0
Xcopy may have an option to retain dates. check out all the otions relating to attributes.


IF that will not work, the Dave's suggestion about a zip file may be the only option.

Windows Drag & Drop via the Explorer seems to retain the current date info in terms of last updated.