home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.msdos.batch      Fun with MS-DOS batch files      42,547 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 40,780 of 42,547   
   Anton Bayer to All   
   howto copy subdirs keeping date and time   
   26 Oct 13 14:42:46   
   
   From: abayer@sofort-mail.de   
      
   How can I copy (in append mode) directories so that not only files but also   
   subdirs will keep their timestamp?   
      
   Using ROBOCOPY   /E /COPY:DAT will copy/create even   
   empty directories and files will keep their timestamp, but the newly created   
   subdirs will have the actual date/time stamp and not the original one, and   
   ROBOCOPY option /MIR cannot be used because it does not append new data but   
   delete old ones.   
      
   For XCOPY I didn't find a way to keep timestamps.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca