Question Locked

How do I print a list of all documents in my documents folder?

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Not a screen print. I would like to print a hard copy list of all documents in my documents directory, before backing up and deleting on working disk? I know there are some independent programs that can be installed on my computer to do that. Does MS Windows allow that?

4 replies

by 93961

Simple. Re-direct Dir command output in command prompt to either printer or to a TXT file and then open the file in notepad and PRINT!!!

by robo_dev

at command prompt:

DIR/W > LPT1:

If, instead, you are writing to a file:

A single > replaces the file, and a double >> appends to it.

So you can do a list.txt by:

dir >> c:\list.txt

Then browse around and do more of the same, until you have your ten-thousand-line-long text file.

Then do:

Copy list.txt LPT1:

by tobif

1. Open a command window
2. Navigate to your home directory
cd %homepath%
3. Navigate to your documents folder (assuming not Win&)
cd "my documents"
4. Enter a command that will list all files in current directory and subdirectories and store it into a file named dirlist.txt
dir /ognd /d > dirlist.txt
/ognd gives you a decent sort order
/s includes all subdirectories

By the way, If you care about email and some other stuff, you may want to have a look at "Appdata" (that's in Vista and Win7, don't remember the corresponding name in XP...)

This discussion is closed to new replies.