Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch    |    Fun with MS-DOS batch files    |    42,547 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 40,603 of 42,547    |
|    Richard Bonner to Axel Berger    |
|    Re: For Schleife sortieren    |
|    18 Feb 13 11:23:56    |
      XPost: comp.os.msdos.4dos       From: ak621@chebucto.ns.ca              Axel Berger (Axel.Berger@Gmx.De) wrote:       > I'm using 4DOS. Using the command              > for %a in (acc*) do type %a >> logneu.txt              > it is obvious they're executed in their natural order. If those files       > were copied before I often hit the Windows idiosyncracy, that the first       > in alphabetical order comes last, requiring manual correction. Is there       > a way to make For use a predefined order like aphabetical or age?       >       > Axel              *** In real DOS, this can be done by using a resort utility such as       Norton's DS.exe (Directory Sort). It physically reorders file namess in a       directory. Afterward, any listing, copying or other operation will then       happen in the type of order you select.               XSET, and possibly XXCOPY, could be used to do this operation, but I       can't take the time right now to think of the steps required.               I think the idea proposd by another poster of using DIR to send an       alphabetical list to a file and then using it as input to type each file       is likely the best for you.              --        Richard Bonner       http://www.chebucto.ca/~ak621/DOS/              --- 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