Results 1 to 10 of 10
  1. #1
    2 Star Lounger
    Join Date
    Mar 2001
    Posts
    191
    Thanks
    0
    Thanked 1 Time in 1 Post

    Alphabetizing my docs

    Is there a way to alphabetize my docs by folder and the remaining docs that are not in a folder, rather than doing it manually? If so, can someone please let me know how....many thanks, John

  2. #2
    Silver Lounger RolandJS's Avatar
    Join Date
    Dec 2009
    Location
    Austin metro area TX USA
    Posts
    1,735
    Thanks
    95
    Thanked 130 Times in 127 Posts
    Be careful of making long folder and/or file names, there are only so characters allowed in a file path
    Now, let's pretend you have 20 folders and you have 15 files that are not yet in their assigned folders -- and you want to alphabetize them, did I understand your opening post?
    "Take care of thy backups and thy restores shall take care of thee." Ben Franklin revisited.
    http://collegecafe.fr.yuku.com/forum...-Technologies/

  3. #3
    WS Lounge VIP
    Join Date
    Dec 2009
    Location
    Earth
    Posts
    8,207
    Thanks
    49
    Thanked 989 Times in 919 Posts
    If you are viewing them in Windows Explorer, click on the "Name" column heading to change the sort order.

    cheers, Paul

  4. #4
    Silver Lounger RolandJS's Avatar
    Join Date
    Dec 2009
    Location
    Austin metro area TX USA
    Posts
    1,735
    Thanks
    95
    Thanked 130 Times in 127 Posts
    Paul, that's what I was also thinking, however, I'm wondering if OP wants file-name-generator, something that will generate successive folder names, and successive file names as the folders and files are coming down the assembly line.
    "Take care of thy backups and thy restores shall take care of thee." Ben Franklin revisited.
    http://collegecafe.fr.yuku.com/forum...-Technologies/

  5. #5
    Lounger
    Join Date
    Feb 2011
    Posts
    38
    Thanks
    3
    Thanked 7 Times in 5 Posts
    Quote Originally Posted by JohnL View Post
    Is there a way to alphabetize my docs by folder and the remaining docs that are not in a folder, rather than doing it manually? If so, can someone please let me know how....many thanks, John
    I don't know what you want. Do you want a list of your files in alphabetical order by folder? If so, open a Command Prompt window for the top folder (what I presume you mean by the location of 'docs that are not in a folder') and issue
    dir /s/b/O:N >List.txt
    This will create a sorted file of filenames. The important thing is that all your documents must be in this top folder or one of its sub-folders. If you need to filter the list, e.g. to only include Word documents, use something like
    dir /s/b/O:N >List.txt *.doc*
    Put it in a batch file if you want double-click convenience.
    If this does not meet your requirements (e.g. files dotted around various locations, you want to rename files in some way etc.) please let us know what you want to achieve. We can't guess.
    Last edited by arowland; 2015-06-04 at 09:39.

  6. #6
    Lounger
    Join Date
    Sep 2012
    Posts
    25
    Thanks
    0
    Thanked 4 Times in 4 Posts
    If you open your Documents (or any other) folder, and click the top of the Name column (on the right pane), it will sort all the folders in alphabetical order, with any files in alphabetical order under the folders. Click a second time to reverse the order or sort.

    You can sort (order) by any column showing, by Date, Type, Size or any other other parameter you've chosen to display. Just click the top of that column, and then click it again to reverse it. A small triangle will either point up or down at the top of whatever column the page is sorted by, depending if it's sorted ascending or descending.

    Anywhere you see columns, click the top of the column you want to sort what you're looking at by that column. This holds true for Windows Explorer (My Computer), Mac Finder, and Linux File Manager (Endeavour, Krusader and others). It even works in most web sites that have something in a table that's of any substantial size, try this Wikipedia page.

  7. #7
    5 Star Lounger Lugh's Avatar
    Join Date
    Jun 2010
    Location
    Indy
    Posts
    627
    Thanks
    168
    Thanked 77 Times in 68 Posts
    Quote Originally Posted by arowland View Post
    I don't know what you want. ...please let us know what you want to achieve.
    I second that.

    If you want all the files in a main folder and sub-folders listed alphabetically in one window, then you need a "flatfile" view. I don't know if WinExplorer has such, but some of the many WinExplorer replacement file managers should have it. My Directory Opus paid has it, maybe the free version also has it.

  8. #8
    Lounger
    Join Date
    Sep 2012
    Posts
    25
    Thanks
    0
    Thanked 4 Times in 4 Posts
    Mike, please explain what you mean by a "flatfile" view.

    My understanding of a flatfile is of a file containing records that don't have any related structure, or having no internal hierarchy. Like a database that stores data in a plain text file, each line holding one record, with fields separated by delimiters, such as commas or tabs.

    I'm also aware that a 'flattened view' in a graphic editing program is to combine all layers into the original image.

    The OP asked how he could alphabetize his docs by folder and the remaining docs that are not in a folder, rather than doing it manually. That sounds like he wants the folders themselves alphabetized, followed by any other files in it, alphabetized.

    All he has to do is click on the top of the Name column and it will sort (or order) the directory alphabetically by the name of the sub directories in it and then by the names of the files in that directory. He can them click any directory there to view it alphabetically.

    As I mentioned, this works in what I think is called File Explorer in Windows 8, Windows Explorer (in other versions of Windows), Mac Finder, and in any of the Linux File Managers. It even works in all (most?) email clients to sort messages and most anywhere else one finds data in a chart on line.

  9. #9
    WS Lounge VIP
    Join Date
    Dec 2009
    Location
    Earth
    Posts
    8,207
    Thanks
    49
    Thanked 989 Times in 919 Posts
    I think he means a view of all files, including sub-folders, at once.

    cheers, Paul

  10. #10
    Lounger
    Join Date
    Sep 2012
    Posts
    25
    Thanks
    0
    Thanked 4 Times in 4 Posts
    If he means a view of all files, including sub-folders at once then he can click them all open - except then you could only see maybe 50 files at once. He77, even one of those 12:9 ultra wide ones turned sideways wouldn't handle much more than 3 or 4 times that.

    If you'd like a list of all the directories and files in any folder, go to the command prompt and enter: dir /s>nameoffile.txt.

    "dir" is a directory list, and the /s makes it include files. The ">" sends the out put to whatever file you name. If you just do dir /s, it will list it to your monitor. If you do it like this, dir /s>con, it will list it to the console (your monitor). Do it like this, dir /s>nameoffile.txt and it will make a new file called nameoffile.txt and write the listing to it.

Posting Permissions

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