RE: [ActiveDir] OT: maintaining creation date when copying directories?
Robocopy with the /B-Switch should work. Ulf From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thommes, Michael M. Sent: Donnerstag, 25. Januar 2007 13:10 To: ActiveDir@mail.activedir.org Subject: [ActiveDir] OT: maintaining creation date when copying directories? What move/copy tools can be used to copy directories/files to another location and still retain the creation date value? Robocopy seems to keep creation date on files but directories are given the current date. Am I missing a switch in Robocopy to do this? A backup/restore operation (with ntbackup.exe) retains the creation date as one would expect. I am just looking for other possible tools. I should mention that with all of the tools I've tried, the modified date is always the current date for directories. Any help is appreciated! Mike Thommes
RE: [ActiveDir] OT: maintaining creation date when copying directories?
Hi Ulf, Thanks for the response! I tried Robocopy (version XP010) with the /E /B /COPYALL switches. It does not seem to have the desired effect (ie, both the modified date and the creation date are still the current date). Any other thoughts? Mike Thommes From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ulf B. Simon-Weidner Sent: Thursday, January 25, 2007 6:52 AM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] OT: maintaining creation date when copying directories? Robocopy with the /B-Switch should work. Ulf From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thommes, Michael M. Sent: Donnerstag, 25. Januar 2007 13:10 To: ActiveDir@mail.activedir.org Subject: [ActiveDir] OT: maintaining creation date when copying directories? What move/copy tools can be used to copy directories/files to another location and still retain the creation date value? Robocopy seems to keep creation date on files but directories are given the current date. Am I missing a switch in Robocopy to do this? A backup/restore operation (with ntbackup.exe) retains the creation date as one would expect. I am just looking for other possible tools. I should mention that with all of the tools I've tried, the modified date is always the current date for directories. Any help is appreciated! Mike Thommes
RE: [ActiveDir] OT: maintaining creation date when copying directories?
Hi Thommes, I've just tried this here, and both commands Robocopy /B .\ ..\ wins.dll Robocopy /B .\ c:\ wins.dll (first one on the same drive, second one on another drive) Maintain the Create and Modified date. My Robocopy-Version is the same (XP010, 5.1.1.1010) Weird. Gruesse - Sincerely, Ulf B. Simon-Weidner Profile Publications: blocked::http://mvp.support.microsoft.com/profile=35E388DE-4885-4308-B489-F 2F1214C811D http://mvp.support.microsoft.com/profile=35E388DE-4885-4308-B489-F2F1214C811 D Weblog: blocked::http://msmvps.org/UlfBSimonWeidner http://msmvps.org/UlfBSimonWeidner Website: blocked::http://www.windowsserverfaq.org/ http://www.windowsserverfaq.org From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thommes, Michael M. Sent: Donnerstag, 25. Januar 2007 14:18 To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] OT: maintaining creation date when copying directories? Hi Ulf, Thanks for the response! I tried Robocopy (version XP010) with the /E /B /COPYALL switches. It does not seem to have the desired effect (ie, both the modified date and the creation date are still the current date). Any other thoughts? Mike Thommes _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ulf B. Simon-Weidner Sent: Thursday, January 25, 2007 6:52 AM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] OT: maintaining creation date when copying directories? Robocopy with the /B-Switch should work. Ulf From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thommes, Michael M. Sent: Donnerstag, 25. Januar 2007 13:10 To: ActiveDir@mail.activedir.org Subject: [ActiveDir] OT: maintaining creation date when copying directories? What move/copy tools can be used to copy directories/files to another location and still retain the creation date value? Robocopy seems to keep creation date on files but directories are given the current date. Am I missing a switch in Robocopy to do this? A backup/restore operation (with ntbackup.exe) retains the creation date as one would expect. I am just looking for other possible tools. I should mention that with all of the tools I've tried, the modified date is always the current date for directories. Any help is appreciated! Mike Thommes
RE: [ActiveDir] OT: maintaining creation date when copying directories?
Hi Ulf, I don't have any problems with the creation date on files. It's the creation date on the directory folders that is not right. Could you try robocopy again, this time trying to copy some tree structure that has branches (subdirectories) and see what creation date is on the subdirectory folders? Thanks much! Mike Thommes From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ulf B. Simon-Weidner Sent: Thursday, January 25, 2007 3:41 PM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] OT: maintaining creation date when copying directories? Hi Thommes, I've just tried this here, and both commands Robocopy /B .\ ..\ wins.dll Robocopy /B .\ c:\ wins.dll (first one on the same drive, second one on another drive) Maintain the Create and Modified date. My Robocopy-Version is the same (XP010, 5.1.1.1010) Weird. Gruesse - Sincerely, Ulf B. Simon-Weidner Profile Publications: http://mvp.support.microsoft.com/profile=35E388DE-4885-4308-B489-F2F1214 C811D blocked::http://mvp.support.microsoft.com/profile=35E388DE-4885-4308-B4 89-F2F1214C811D Weblog: http://msmvps.org/UlfBSimonWeidner blocked::http://msmvps.org/UlfBSimonWeidner Website: http://www.windowsserverfaq.org blocked::http://www.windowsserverfaq.org/ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thommes, Michael M. Sent: Donnerstag, 25. Januar 2007 14:18 To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] OT: maintaining creation date when copying directories? Hi Ulf, Thanks for the response! I tried Robocopy (version XP010) with the /E /B /COPYALL switches. It does not seem to have the desired effect (ie, both the modified date and the creation date are still the current date). Any other thoughts? Mike Thommes From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ulf B. Simon-Weidner Sent: Thursday, January 25, 2007 6:52 AM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] OT: maintaining creation date when copying directories? Robocopy with the /B-Switch should work. Ulf From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thommes, Michael M. Sent: Donnerstag, 25. Januar 2007 13:10 To: ActiveDir@mail.activedir.org Subject: [ActiveDir] OT: maintaining creation date when copying directories? What move/copy tools can be used to copy directories/files to another location and still retain the creation date value? Robocopy seems to keep creation date on files but directories are given the current date. Am I missing a switch in Robocopy to do this? A backup/restore operation (with ntbackup.exe) retains the creation date as one would expect. I am just looking for other possible tools. I should mention that with all of the tools I've tried, the modified date is always the current date for directories. Any help is appreciated! Mike Thommes
RE: [ActiveDir] OT: maintaining creation date when copying directories?
Sorry - I've missed that point. Yes - you're right, I got the same results. However, if you use robocopy which is now included in Vista in System32 (XP027, 5.1.10.1027) you can use a new switch to accomplish this: robocopy /dcopy:t /E /B /copyall . . The /dcopy:t does the trick. Thanks for bringing this up so I had to look into it - I'll blog this since it's a very interesting change. Gruesse - Sincerely, Ulf B. Simon-Weidner Profile Publications: blocked::http://mvp.support.microsoft.com/profile=35E388DE-4885-4308-B489-F 2F1214C811D http://mvp.support.microsoft.com/profile=35E388DE-4885-4308-B489-F2F1214C811 D Weblog: blocked::http://msmvps.org/UlfBSimonWeidner http://msmvps.org/UlfBSimonWeidner Website: blocked::http://www.windowsserverfaq.org/ http://www.windowsserverfaq.org From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thommes, Michael M. Sent: Freitag, 26. Januar 2007 02:21 To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] OT: maintaining creation date when copying directories? Hi Ulf, I don't have any problems with the creation date on files. It's the creation date on the directory folders that is not right. Could you try robocopy again, this time trying to copy some tree structure that has branches (subdirectories) and see what creation date is on the subdirectory folders? Thanks much! Mike Thommes _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ulf B. Simon-Weidner Sent: Thursday, January 25, 2007 3:41 PM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] OT: maintaining creation date when copying directories? Hi Thommes, I've just tried this here, and both commands Robocopy /B .\ ..\ wins.dll Robocopy /B .\ c:\ wins.dll (first one on the same drive, second one on another drive) Maintain the Create and Modified date. My Robocopy-Version is the same (XP010, 5.1.1.1010) Weird. Gruesse - Sincerely, Ulf B. Simon-Weidner Profile Publications: blocked::http://mvp.support.microsoft.com/profile=35E388DE-4885-4308-B489-F 2F1214C811D http://mvp.support.microsoft.com/profile=35E388DE-4885-4308-B489-F2F1214C811 D Weblog: blocked::http://msmvps.org/UlfBSimonWeidner http://msmvps.org/UlfBSimonWeidner Website: blocked::http://www.windowsserverfaq.org/ http://www.windowsserverfaq.org From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thommes, Michael M. Sent: Donnerstag, 25. Januar 2007 14:18 To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] OT: maintaining creation date when copying directories? Hi Ulf, Thanks for the response! I tried Robocopy (version XP010) with the /E /B /COPYALL switches. It does not seem to have the desired effect (ie, both the modified date and the creation date are still the current date). Any other thoughts? Mike Thommes _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ulf B. Simon-Weidner Sent: Thursday, January 25, 2007 6:52 AM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] OT: maintaining creation date when copying directories? Robocopy with the /B-Switch should work. Ulf From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thommes, Michael M. Sent: Donnerstag, 25. Januar 2007 13:10 To: ActiveDir@mail.activedir.org Subject: [ActiveDir] OT: maintaining creation date when copying directories? What move/copy tools can be used to copy directories/files to another location and still retain the creation date value? Robocopy seems to keep creation date on files but directories are given the current date. Am I missing a switch in Robocopy to do this? A backup/restore operation (with ntbackup.exe) retains the creation date as one would expect. I am just looking for other possible tools. I should mention that with all of the tools I've tried, the modified date is always the current date for directories. Any help is appreciated! Mike Thommes