home bbs files messages ]

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

   alt.msdos.batch.nt      Fun with Windows NT batch files      68,980 messages   

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

   Message 68,808 of 68,980   
   Tom Del Rosso to All   
   Re: moving VS copy and delete   
   26 Jul 24 11:36:37   
   
   From: fizzbintuesday@that-google-mail-domain.com   
      
   JJ wrote:   
   > On Sat, 13 Jul 2024 20:31:27 -0400, Tom Del Rosso wrote:   
   >> I want to move some files and folders, from one parent folder to   
   >> another, on the same drive.   
   >>   
   >> I know a few methods, but not sure if any method operates by just   
   >> changing directory entries instead of copy and delete.   
   >>   
   >> It would avoid fragmentation and is faster.   
   >>   
   >> Thanks.   
   >   
   > When both the source and target are physically in the same drive,   
   > moving file/folder to the same drive will not move the   
   > file's/folder's data. The move operation will simply move the   
   > file's/folder's entry within its parent folder's data. By "entry", I   
   > meant the file information within its containing folder, such as   
   > name, size, attributes, NTFS permissions, etc.   
      
   Yeah, I know, but does it apply to commands other than MOVE, like the   
   move function of Robocopy etc.   
      
   I should have emphasized the "and folders" part.   
      
   I avoided using MOVE because it doesn't move folders named by wildcards.   
   To move multiple folders with the MOVE command I had to use FOR to spit   
   out a list and run it for each one. So that was the solution but not   
   ideal.   
      
      
   --   
   Defund the Thought Police   
      
   --- 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