by Allen Wyatt
(last updated August 5, 2019)
I've got a directory that contains a ton of graphics files. I was preparing a report that, in one part, needed to list all of the filenames for those files. I didn't want to type all the filenames in from scratch, so I relied on a tried-and-true trick from the DOS days in order to get the filenames into a text file.
dir /b > myfiles.txt
That's it. You should note a new file (myfiles.txt) in the directory, and it contains all of the names of the files in the directory. (If you don't see the myfiles.txt at first, press F5 to refresh what is shown in the Explorer window.) In my case, all I did was to copy the filenames and insert them into the report I was preparing—much easier than typing everything!
This tip (12707) applies to Windows 7, 8, and 10.
Removing a file type program association is a task for third-party utilities. You can, however, change the association ...Discover More
Microsoft is constantly updating Windows for various reasons. For most people, those updates are downloaded and installed ...Discover More
If you're low on disk space but still want to keep your files online, you might consider moving them to compressed ...Discover More
FREE SERVICE: Get tips like this every week in WindowsTips, a free productivity newsletter. Enter your address and click "Subscribe."