Share via

how do i alphabetize a list in notepad ?

Anonymous
2010-05-18T01:28:06+00:00

how do i alphabetize a list in notepad ?

Windows for home | Previous Windows versions | Files, folders, and storage

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

  1. Anonymous
    2010-05-18T01:29:45+00:00

    That function issn't available in Notepad.  Try using Wordpad instead.  Or better still, download the free OpenOffice www.openoffice.org and use it to do your word processing functions - it's pretty much as good as Microsoft Office and it is FREE!

    I hope this helps.

    Good luck!


    Lorien - MCSE/MCSA/Network+/A+ --- If this post helps to resolve your issue, please click the "Mark as Answer" or "Helpful" button at the top of this message. By marking a post as Answered, or Helpful you help others find the answer faster.

    9 people found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2017-10-13T22:10:37+00:00

    If you are comfortable with the Command Prompt you can use the following command for a "Quick and Dirty" sort:

    Type SortTestRaw.txt|Sort>sorttestsorted.txt

    "Type" is the command to type out a file, in this case one you created and named "SortTestRaw.txt".

    The vertical bar ("|") is the "PIPE" operator. It PIPES (sends) the output of the previous command (Type) to the next command (Sort).

    Sort is the sort command. By default it sorts on the first column. "Sort /+n" will sort on a particular column, where "n" is the column number. Sort /+3 will sort on the third column. (Typing "Sort /R will sort in Reverse order -- A to Z instead of Z to A.)

    The greater than sign (">") is the output redirector that redirects the output of the Sort command to a file named "sorttestsorted.txt" If the file does not exist it will be created. If it does exist it will be overwritten. I find it best not to save the sorted data on top of your original file, just in case there's a finger fault somewhere! :-D  You can direct it to the local printer by replacing the file name with :prn, if :prn is defined as a printer connected to the PC. It didn't work with my WiFi connected printer.

    Command names (Type and Sort) are not case-sensitive. Filenames are. You can click on the Windows Icon and type "COMMAND" in the search box to open a COMMAND Prompt. The prefix shows the directory the command opens in. You'll have to know how to change directories to your source file or how to specify a file in another directory.

    Don't be afraid! Play with it and get comfortable. Notepad is not a Word Processor, but you can do some quick things with it if you don't need he full power of a word processor.

    +++++

    3 people found this answer helpful.
    0 comments No comments