windows-copy-preserve-filetimes-permissions
dcopy:t invalid parameter - see below!
http://www.microsoft.com/downloads/details.aspx?FamilyID=9D467A69-57FF-4AE7-96EE-B18C4790CFFD&displaylang=en
rktools.exe contains a bunch of very good command line and scripts
robocopy.exe
robocopy C:\foo C:\bar /COPYALL /E /R:0
Copy directory recursively (/E), and copy all file information (/COPYALL, equivalent to /COPY:DATSOU, D=Data, A=Attributes, T=Timestamps, S=Security=NTFS ACLs, O=Owner info, U=aUditing info), do not retry locked files (/R:0). Note directory Timestamps will not be reset if using a Robocopy version older than XP026:
robocopy c:\source e:\destination /DCOPY:T /COPYALL /MOVE /R:1 /W:2 /E
copy all = preserve permissions + date + file info r:1 = only retry locked files once w:1 = wait 1 second on locked files E = recurisve
http://www.mydigitallife.info/2007/05/07/robocopy-syntax-command-line-switches-and-examples/
http://www.windowskb.com/Uwe/Forum.aspx/windowsxp/269865/Can-I-get-robocopy-exe-as-a-standalone
NOTE: THERE'S the microsoft website robocopy version XP010 which DOES NOT do dcopy:t
you must download the robocopy /? (version = XP026)
robocopy c:\source e:\destination /DCOPY:T /COPYALL /MOVE /R:1 /W:2 /E