Axel Berger (Axel....@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/