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,130 of 68,980   
   Terry Pinnell to R.Wieser   
   Re: Copying to SD card sequentially   
   26 Oct 23 09:31:38   
   
   From: me@somewhere.invalid   
      
   "R.Wieser"  wrote:   
      
   >JJ,   
   >   
   >> For Windows, there are tools for sorting directory entries   
   >> in FAT drives.   
   >   
   >A tool for sorting a directory ?   For something that a small batch script   
   >can do as wel ?   
   >   
   >1) Move the to-be-sorted files to a temp directory (on the same drive*)   
   >   
   >2) Create a sorted list of the files in the temp directory   
   >   
   >3) Read the sorted list and move the files one-by-one back to the origional   
   >directory   
   >   
   >* moving on the same drive just moves the metadata, not the contents of the   
   >file.   
   >   
   >Total number of lines in the batch file : 7, if you include creating and   
   >removing the temp directory.   
   >   
   >If you want to have the folders at the top (File Explorer style) it only   
   >takes a single extra line.   
   >   
   >Regards,   
   >Rudy Wieser   
   >   
      
   In addition to your latest reply to me up thread, this appears to   
   confirm that, unlike JJ, you did not accurately understand my stated   
   problem.   
      
   I did say it "will probably seem a rather obscure request" but...   
   Did you even take a look at the link I posted? For example this   
   important note about the central issue:   
   -------------------   
   "NOTE: The order you copy the mp3 into micro SD card will affect the   
   order mp3 played , which means play(1) function will play the first mp3   
   copied into micro SD card.'   
   --------------------   
   So here's my attempt at re-wording:   
   GIVEN the way that this module behaves, I was looking (as I have been   
   for a couple of years) for some way to ensure that files were physically   
   copied to an SD  in the order they were displayed on the PC in File   
   Explorer. NOT describing some bizarre behaviour of File Explorer.   
      
   --- 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