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,121 of 68,980   
   Terry Pinnell to R.Wieser   
   Re: Copying to SD card sequentially   
   25 Oct 23 12:52:07   
   
   From: me@somewhere.invalid   
      
   "R.Wieser"  wrote:   
      
   >   
   >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   
   >   
      
   Thanks, appreciate the fast reply. I've never used a 'console window'   
   before, but read:   
      
   "To open the Console, press Ctrl+Shift+J (Windows, Linux) or   
   Command+Option+J".   
      
   Can you amplify a little please? Starting with when and where I should   
   use that hotkey? In parallel, after lunch, I'll do some more thorough   
   googling about 'the console window'.   
      
   Terry   
      
   --- 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