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,137 of 68,980   
   JJ to R.Wieser   
   Re: Copying to SD card sequentially   
   27 Oct 23 07:12:52   
   
   From: jj4public@outlook.com   
      
   On Thu, 26 Oct 2023 11:50:31 +0200, R.Wieser wrote:   
   > 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   
      
   I've no problem with batch file in general. But for OP's problem which use   
   memory chip based storage, the direct disk access would be ideal. Batch file   
   can't do direct disk access.   
      
   --- 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