Re: how to alphabeticaly sort files in bat file?



ILiya wrote:
I have file archives that need to be extracted in sequence based on
the archive names.
To do this, I think I need to iterate through all files in archives
directory, pickup those falling into archives pattern (like
"WeeklyUpdates????????.zip", sort them alphabeticaly (probably in a
separate file) and then iterate through the file feeding them to
unzip utility. But I have no idea how to implement this in bat file.
Thanks in advance.

At the command prompt, type "SORT /?" for instructions.


.



Relevant Pages

  • Re: how to alphabeticaly sort files in bat file?
    ... I have file archives that need to be extracted in sequence based on the ... file) and then iterate through the file feeding them to unzip utility. ... - Why would you need to sort the files before unzipping them? ... Where should the unzipped files go? ...
    (microsoft.public.windowsxp.general)
  • Re: hvlp
    ... The questions and answers sort of danced around what I asked, ... Like "hey there's this new gun that just came out". ... know Brian - it's not too much to suggest that folks do an archive search. ... the archives, and I can offer any insights or help in specific areas, I ...
    (rec.woodworking)
  • Re: hvlp
    ... The questions and answers sort of danced around what I asked, ... Like "hey there's this new gun that just came out". ... know Brian - it's not too much to suggest that folks do an archive search. ... the archives, and I can offer any insights or help in specific areas, I ...
    (rec.woodworking)
  • Re: Dovecot line feed error for 2 users
    ... > users in Dovecot: ... > I've read in the archives that it's the blank line at the beginning of ... > programatically or with a patch of some sort? ...
    (Fedora)
  • Re: [SLE] Something wrong with the mail
    ... please check if there is some sort of a problem with SUSE's server? ... I saw this thread about 8 hrs. ago on the archives, ... Skype thread to come through (that may have been for the 25th, ...
    (SuSE)