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,118 of 68,980   
   R.Wieser to All   
   Re: Copying to SD card sequentially   
   25 Oct 23 13:12:22   
   
   From: address@is.invalid   
      
   Terry,   
      
   > Or does anyone know of a property/attribute that can be changed on   
   > the PC before copying, that will have the required 'sequential   
   > indexing' effect?   
      
   Alas, no.   
      
   It looks like the files are copied in the order in which they where put onto   
   the disk.   If you want to see that order, open a console window and do a   
   "dir *.mp3".  To *show* them in the order Explorer (by default) uses, use   
   "dir /one *.mp3"   
      
   You might want to use "dir /one /b *.mp3 > filelist.txt" to put a sorted   
   list of (just the) filenames into a file, and than iterate thru the names in   
   that file and copy them one-by-one :   
      
   - - - - - - -   
      
   @echo off   
   for /f "tokens=*" %%a in (filelist.txt) do (   
     echo line=%%a   
   )   
   - - - - - - -   
      
   (replace the "echo line=" part with the apropriate "copy" command)   
      
   Hope that helps.   
      
   Regards,   
   Rudy Wieser   
      
   --- 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