Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: Some Way To Alphabetize A List Of Words

  1. #1
    I have a list of all my Games and Appz saved to a notepad. i have many. of course i can Alphabetize manually. but i wonder is there a program that will do it for me. i cant find one

  2. Software & Hardware   -   #2
    Poster
    Join Date
    Mar 2003
    Posts
    3,582
    At a command prompt,



    Microsoft Windows 2000 [Version 5.00.2195]
    © Copyright 1985-2000 Microsoft Corp.

    C:\>dir /?
    Displays a list of files and subdirectories in a directory.

    DIR [drive:][path][filename] [/A[[:]attributes]]
    [/C] [/D] [/L] [/N]
    [/O[[:]sortorder]] [/P] [/Q] [/S] [/T[[:]timefield]] [/W] [/X] [/4]

    [drive:][path][filename]
    Specifies drive, directory, and/or files to list.

    /A Displays files with specified attributes.
    attributes D Directories R Read-only files
    H Hidden files A Files ready for archiving
    S System files - Prefix meaning not
    /B Uses bare format (no heading information or summary).
    /C Display the thousand separator in file sizes. This is the
    default. Use /-C to disable display of separator.
    /D Same as wide but files are list sorted by column.
    /L Uses lowercase.
    /N New long list format where filenames are on the far right.
    /O List by files in sorted order.
    sortorder N By name (alphabetic) S By size (smallest first)
    E By extension (alphabetic) D By date/time (oldest first)
    G Group directories first - Prefix to reverse order
    /P Pauses after each screenful of information.
    /Q Display the owner of the file.
    /S Displays files in specified directory and all subdirectories.
    /T Controls which time field displayed or used for sorting
    timefield C Creation
    A Last Access
    W Last Written
    /W Uses wide list format.
    /X This displays the short names generated for non-8dot3 file
    names. The format is that of /N with the short name inserted
    before the long name. If no short name is present, blanks are
    displayed in its place.
    /4 Displays four-digit years

    Switches may be preset in the DIRCMD environment variable. Override
    preset switches by prefixing any switch with - (hyphen)--for example, /-W.
    [/b]
    Another appliacation which may interest you is SetupDIRlist

    It creates an index.html in each folder you open it in. Your files will be listed alphbetically and will appear on the index as hyperlinks. Very cool for music folders! Click and play, click and run.

  3. Software & Hardware   -   #3
    Got it ... Thnx balamm

  4. Software & Hardware   -   #4
    sparsely's Avatar °¤°¤°¤°¤°¤°¤°
    Join Date
    Dec 2002
    Location
    static hum
    Posts
    3,486
    I'm gonna have to try that setupDIR app...sounds handy.
    thx balamm

    this post is guaranteed 100% parrot-free

  5. Software & Hardware   -   #5
    Poster
    Join Date
    Mar 2003
    Posts
    3,582
    It works great, just do each folder, then back out and do the main directory, then the partition. Your whole drive is now hyperlinked just like a website. Just be carefull opening it, it will over write any existing indexes in the folder it opens to.
    I use this on quite a few CD's I burn to make it easier to find stuff. Put everything in a folder, create the index, then create a shortcut o it and place the shortcut outside the folder. Burn it all and when you open the CD, it's all indexed. Just click on the app or file you want.

  6. Software & Hardware   -   #6
    Originally posted by balamm@29 December 2003 - 03:40
    At a command prompt,



    Microsoft Windows 2000 [Version 5.00.2195]
    © Copyright 1985-2000 Microsoft Corp.

    C:\>dir /?
    Displays a list of files and subdirectories in a directory.

    DIR [drive:][path][filename] [/A[[:]attributes]]
    [/C] [/D] [/L] [/N]
    [/O[[:]sortorder]] [/P] [/Q] [/S] [/T[[:]timefield]] [/W] [/X] [/4]

    [drive:][path][filename]
    Specifies drive, directory, and/or files to list.

    /A Displays files with specified attributes.
    attributes D Directories R Read-only files
    H Hidden files A Files ready for archiving
    S System files - Prefix meaning not
    /B Uses bare format (no heading information or summary).
    /C Display the thousand separator in file sizes. This is the
    default. Use /-C to disable display of separator.
    /D Same as wide but files are list sorted by column.
    /L Uses lowercase.
    /N New long list format where filenames are on the far right.
    /O List by files in sorted order.
    sortorder N By name (alphabetic) S By size (smallest first)
    E By extension (alphabetic) D By date/time (oldest first)
    G Group directories first - Prefix to reverse order
    /P Pauses after each screenful of information.
    /Q Display the owner of the file.
    /S Displays files in specified directory and all subdirectories.
    /T Controls which time field displayed or used for sorting
    timefield C Creation
    A Last Access
    W Last Written
    /W Uses wide list format.
    /X This displays the short names generated for non-8dot3 file
    names. The format is that of /N with the short name inserted
    before the long name. If no short name is present, blanks are
    displayed in its place.
    /4 Displays four-digit years

    Switches may be preset in the DIRCMD environment variable. Override
    preset switches by prefixing any switch with - (hyphen)--for example, /-W.
    Another appliacation which may interest you is SetupDIRlist

    It creates an index.html in each folder you open it in. Your files will be listed alphbetically and will appear on the index as hyperlinks. Very cool for music folders! Click and play, click and run. [/b]
    IM having a problem getting the Attributes to take effect.

    I can Open C:\Documents and Settings\Dell PC\My Documents\Games.txt

    By typing that into Run Command.


    But to Alphabetize it, i have tried

    C:\Documents and Settings\Dell PC\My Documents\Games.txt/O:N

    C:\Documents and Settings\Dell PC\My Documents\Games.txt/A/O:N

    And a few other usless combinations and i get a "Windows cannot find"

    Anyone know What is the proper command at the end of

    "C:\Documents and Settings\Dell PC\My Documents\Games.txt"

    to get that Games.txt to Alphabetize?

  7. Software & Hardware   -   #7
    Poster
    Join Date
    Dec 2003
    Location
    ...Glass tubes all look alike from the inside.
    Posts
    142
    Lol. DIR is a dos based command that you use to list the contents of a directory. Its no good for what you want...

    Seriously, type DIR /o in that command prompt and you'll understand.

    My advice would just be to open the text file in Access or something and sort it from there. Or you could set up a basic routine to do it - its only a half dozen lines of code or so.

  8. Software & Hardware   -   #8
    Originally posted by Project E-01@30 December 2003 - 00:58
    Lol. DIR is a dos based command that you use to list the contents of a directory. Its no good for what you want...

    Seriously, type DIR /o in that command prompt and you'll understand.

    My advice would just be to open the text file in Access or something and sort it from there. Or you could set up a basic routine to do it - its only a half dozen lines of code or so.
    Yes i just noticed that after i sent the message. but i have also just tried the same cammands at the Does Prompt

    C:\Windows\System32\command.com and the same commands are not working there either

  9. Software & Hardware   -   #9
    At Run i typed "command" at command i typed DIR o/ then i typed the path to the games.txt

    And i added /O:N to the end of it.

    Not working

  10. Software & Hardware   -   #10
    Poster
    Join Date
    Mar 2003
    Posts
    3,582
    Where are the programs you want to list? If they are in a directory somewhere, You open the command prompt there and list the contents in alphabetical order. Then copy the results and paste that into notepad.



    Opening a Command Prompt from Windows Explorer
    Code:
    
    Submitted by Dan Green
    Sydney, Australia
    
    With previous versions of Microsoft Windows NT, to open a command prompt, the Cmd.exe command was always associated with Windows Explorer folders. The old technique was to go to the Windows NT Explorer Options/File Types and associate the File Folder item with Cmd.exe. With Windows 2000, you can use the Registry to activate this feature.
    To enable the command prompt feature:
    1.	Create a new text file and call it "command.reg" (select any appropriate name for the .reg file). 
    2.	Right-click the file and select Edit. 
    3.	Copy and paste the following code into the file.
    
    Windows Registry Editor Version 5.00
    
    [HKEY_CLASSES_ROOT\Directory\shell\Command]
    @="Command &Prompt"
    [HKEY_CLASSES_ROOT\Directory\shell\Command\command]
    @="cmd.exe \\\"%1\\\""
    4.	Save and close the file. 
    5.	To merge the file into the registry, right-click the file and select Merge. 
    6.	When prompted to confirm your intended actions, click Yes. 
    7.	When informed that your actions were successful, click OK. 
    To confirm your actions:
    1.	Right-click on a folder. 
    2.	Confirm that an item labelled Command displays. 
    3.	Select that item which will open a command prompt in that particular directory.

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •