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
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Alphabetizing my docs
Home » Forums » AskWoody support » Windows » Windows Vista, XP and earlier » Questions: Vista, XP back to 3.1 » Alphabetizing my docs
- This topic has 9 replies, 6 voices, and was last updated 9 years, 11 months ago.
Viewing 7 reply threadsAuthorReplies-
WSRolandJS
AskWoody PlusMay 31, 2015 at 7:06 am #1507289Be 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, revisted
-
Paul T
AskWoody MVP -
WSRolandJS
AskWoody PlusMay 31, 2015 at 9:35 am #1507300Paul, 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, revisted
-
WSarowland
AskWoody LoungerJune 4, 2015 at 8:35 am #1507896Is 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. -
Lugh
AskWoody_MVPJune 6, 2015 at 7:27 pm #1508587I 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.
Lugh.
~
Alienware Aurora R6; Win10 Home x64 1803; Office 365 x32
i7-7700; GeForce GTX 1060; 16GB DDR4 2400; 1TB SSD, 256GB SSD, 4TB HD
-
-
WSStanStr
AskWoody LoungerJune 4, 2015 at 10:58 pm #1508181If 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.
-
WSStanStr
AskWoody LoungerJune 7, 2015 at 5:18 pm #1508713Mike, 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.
-
Paul T
AskWoody MVP -
WSStanStr
AskWoody LoungerJune 9, 2015 at 5:29 pm #1509060If 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.
Viewing 7 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
*Some settings are managed by your organization
by
rlowe44
7 hours, 4 minutes ago -
Formatting of “Forward”ed e-mails
by
Scott Mills
9 hours, 18 minutes ago -
SmartSwitch PC Updates will only be supported through the MS Store Going Forward
by
PL1
9 hours, 42 minutes ago -
CISA warns of hackers targeting critical oil infrastructure
by
Nibbled To Death By Ducks
18 hours, 43 minutes ago -
AI slop
by
Susan Bradley
17 hours, 54 minutes ago -
Chrome : Using AI with Enhanced Protection mode
by
Alex5723
20 hours ago -
Two blank icons
by
CR2
5 hours, 33 minutes ago -
Documents, Pictures, Desktop on OneDrive in Windows 11
by
ThePhoenix
1 day, 4 hours ago -
End of 10
by
Alex5723
1 day, 7 hours ago -
Single account cannot access printer’s automatic duplex functionality
by
Bruce
5 hours, 28 minutes ago -
test post
by
gtd12345
1 day, 13 hours ago -
Privacy and the Real ID
by
Susan Bradley
1 day, 3 hours ago -
MS-DEFCON 2: Deferring that upgrade
by
Susan Bradley
19 hours, 49 minutes ago -
Cant log on to oldergeeks.Com
by
WSJonharnew
1 day, 17 hours ago -
Upgrading from Win 10
by
WSjcgc50
5 hours, 38 minutes ago -
USB webcam / microphone missing after KB5050009 update
by
WSlloydkuhnle
9 hours, 12 minutes ago -
TeleMessage, a modified Signal clone used by US government has been hacked
by
Alex5723
2 days, 9 hours ago -
The story of Windows Longhorn
by
Cybertooth
1 day, 21 hours ago -
Red x next to folder on OneDrive iPadOS
by
dmt_3904
2 days, 11 hours ago -
Are manuals extinct?
by
Susan Bradley
5 hours, 15 minutes ago -
Canonical ditching Sudo for Rust Sudo -rs starting with Ubuntu
by
Alex5723
2 days, 20 hours ago -
Network Issue
by
Casey H
2 days, 7 hours ago -
Fedora Linux is now an official WSL distro
by
Alex5723
3 days, 8 hours ago -
May 2025 Office non-Security updates
by
PKCano
3 days, 9 hours ago -
Windows 10 filehistory including onedrive folder
by
Steve Bondy
3 days, 11 hours ago -
pages print on restart (Win 11 23H2)
by
cyraxote
2 days, 11 hours ago -
Windows 11 Insider Preview build 26200.5581 released to DEV
by
joep517
3 days, 13 hours ago -
Windows 11 Insider Preview build 26120.3950 (24H2) released to BETA
by
joep517
3 days, 13 hours ago -
Proton to drop prices after ruling against “Apple tax”
by
Cybertooth
3 days, 20 hours ago -
24H2 Installer – don’t see Option for non destructive install
by
JP
5 hours, 44 minutes ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.