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,131 of 68,980   
   R.Wieser to All   
   Re: Copying to SD card sequentially   
   26 Oct 23 11:50:31   
   
   From: address@is.invalid   
      
   JJ,   
      
   > Moreover... The sorting algorithm used by Explorer is different than   
   > the one which is used by CMD (the program which interpret batch   
   > commands).   
      
   True.  But it makes no difference for the what The OP provided as an example   
   to the involved filenames.   
      
   > It's not possible for a batch file to implement natural sort with mere   
   > 7 lines   
      
   Very likely true.   
      
   > without using additional program.   
      
   I have not tried it yet, so I can't tell you.  I do know that I can switch   
   off the "natural" sorting - and have done so.   I could imagine that some   
   registry editing by the batchfile (and reverting it afterwards) will do the   
   same.   
      
   But again, I took my que from his posted example.  It will certainly work   
   for that.   
      
   But, if you do not like Batch to do the "heavy lifting" than you (and/or the   
   OP) could use one of the other script languages Windows offers, and which   
   has a lot more capabilities than Batch has.   
      
   In my case I used, for the exact same reason as the OP, VBScript.   
      
   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