Computing.Net > Forums > Disk Operating System > DOS sort command

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

DOS sort command

Reply to Message Icon

Original Message
Name: beeyule
Date: October 4, 2004 at 15:00:36 Pacific
Subject: DOS sort command
OS: Windows XP
CPU/Ram: IX-2800
Comment:

I am generating text files that are posted to a directory. These files need to be sorted using the DOS sort command. The sort command works fine for what I'm doing but is tedious b/c I have use if for each file that I have. Is there anyway to use this command to sort all of the files in a specified directory in one step?

Thanks,

Bill



Report Offensive Message For Removal


Response Number 1
Name: Mechanix2Go
Date: October 4, 2004 at 19:27:20 Pacific
Reply: (edit)

for %%T in (*.txt) do sort<%%T


Report Offensive Follow Up For Removal







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home








Do you have your own blog?

Yes
No
I did before
I will soon


View Results

Poll Finishes In 2 Days.
Discuss in The Lounge
Poll History




Data Recovery Software