organizing names in alphabetical order

G

Guest

Can someone tell me if XP has a way of putting a long list of names in
alphabetical order?I have MICROSOFT WORD but can't find anything there.
 
J

John Thomas Smith

Can someone tell me if XP has a way of putting a long list of names in
alphabetical order?I have MICROSOFT WORD but can't find anything there.

Xp is an operating system, not an application

In Word (at the top) click TABLE and then SORT
 
S

Stan Brown

Thu, 15 Feb 2007 12:27:20 -0800 from hunt
Can someone tell me if XP has a way of putting a long list of names in
alphabetical order?I have MICROSOFT WORD but can't find anything there.

Yes, if you're willing to use the command prompt.

1. Using Notepad or another editor, put the names in a text file, one
per line.

2. Either:
a. In "My Computer", navigate to the folder where you placed the
file, right-click on the folder, and select "Command Prompt Here", or
b. Open the command prompt (usually under Programs > Accessories),
and use a CD command to get to the folder where you saved the text
file.

3. Type this command
SORT <in.txt >out.txt
assuming you named your text file in.txt -- otherwise use the actual
file name. You can also use any other name for out.txt.

4. Type EXIT to close the command prompt.
 
A

Ayush

Replied to [Stan Brown]s message :
Thu, 15 Feb 2007 12:27:20 -0800 from hunt


Yes, if you're willing to use the command prompt.

1. Using Notepad or another editor, put the names in a text file, one
per line.
<snippppp>

Click Start > Run :

sort.exe "filepathtoSort.txt" /O "savedResult.txt"

for example :

sort.exe "C:\Windows\somefile.txt" /o "C:\Windows\SortedFile.txt"


Good Luck, Ayush.
 
S

Stan Brown

Fri, 16 Feb 2007 07:00:03 -0600 from <Ayush <"ayushmaan.j[aatt]
gmail.com">>:
Replied to [Stan Brown]s message :
Thu, 15 Feb 2007 12:27:20 -0800 from hunt


Yes, if you're willing to use the command prompt.

1. Using Notepad or another editor, put the names in a text file, one
per line.
<snippppp>

Click Start > Run :

sort.exe "filepathtoSort.txt" /O "savedResult.txt"

for example :

sort.exe "C:\Windows\somefile.txt" /o "C:\Windows\SortedFile.txt"

Yes, I think this is shorter than what I suggested though it has the
same result.
 
A

Ayush

Replied to [Stan Brown]s message :
Yes, I think this is shorter than what I suggested though it has the
same result.

Yes that's same but you forgot the O switch.

Good Luck, Ayush.
 
S

Stan Brown

Sun, 18 Feb 2007 11:49:25 -0600 from <Ayush <"ayushmaan.j[aatt]
gmail.com">>:
Replied to [Stan Brown]s message :
Yes, I think this is shorter than what I suggested though it has the
same result.

Yes that's same but you forgot the O switch.

I used > redirection instead of /o. I didn't know of /o until I saw
your article. :)
 
A

Ayush

Replied to [Stan Brown]s message :
Sun, 18 Feb 2007 11:49:25 -0600 from <Ayush <"ayushmaan.j[aatt]
gmail.com">>:
Replied to [Stan Brown]s message :
sort.exe "C:\Windows\somefile.txt" /o "C:\Windows\SortedFile.txt"
Yes, I think this is shorter than what I suggested though it has the
same result.
Yes that's same but you forgot the O switch.

I used > redirection instead of /o.


Oh.. i misunderstood that. I thought you are using <in.txt> to show that
in.txt is the path of file.
 
J

JerryM \(ID\)

Just a hint, but you can still use the old DirCmd to arrange files in
alphabetical order and one page at a time, with all the directories at the
top

Right click My Computer, select properties,
click Advanced and Environment Variables,

Under User Variables, click Edit,
Under Variable name Type DirCmd press the tab key
Type /o/p click OK, OK, OK


--
Jerry

If you want the best seat in the house,
You'll have to move the cat.

Ayush said:
Replied to [Stan Brown]s message :
Thu, 15 Feb 2007 12:27:20 -0800 from hunt


Yes, if you're willing to use the command prompt.

1. Using Notepad or another editor, put the names in a text file, one per
line.
<snippppp>

Click Start > Run :

sort.exe "filepathtoSort.txt" /O "savedResult.txt"

for example :

sort.exe "C:\Windows\somefile.txt" /o "C:\Windows\SortedFile.txt"


Good Luck, Ayush.
 
J

JerryM \(ID\)

Press New then Edit

--
Jerry

If you want the best seat in the house,
You'll have to move the cat.

JerryM (ID) said:
Just a hint, but you can still use the old DirCmd to arrange files in
alphabetical order and one page at a time, with all the directories at the
top

Right click My Computer, select properties,
click Advanced and Environment Variables,

Under User Variables, click Edit,
Under Variable name Type DirCmd press the tab key
Type /o/p click OK, OK, OK


--
Jerry

If you want the best seat in the house,
You'll have to move the cat.

Ayush said:
Replied to [Stan Brown]s message :
Thu, 15 Feb 2007 12:27:20 -0800 from hunt
<[email protected]>:
Can someone tell me if XP has a way of putting a long list of names in
alphabetical order?I have MICROSOFT WORD but can't find anything there.

Yes, if you're willing to use the command prompt.

1. Using Notepad or another editor, put the names in a text file, one
per line.
<snippppp>

Click Start > Run :

sort.exe "filepathtoSort.txt" /O "savedResult.txt"

for example :

sort.exe "C:\Windows\somefile.txt" /o "C:\Windows\SortedFile.txt"


Good Luck, Ayush.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top