Print a list of Folders, Subfolders & Filenames in a specific driv

G

Guest

Does any genius out there know of a way to print a single list of all the
Folders, Subfolders & Filenames in a specific drive or directory? Thanks!!
 
R

RobertVA

PlayingToAudienceOfOne said:
Does any genius out there know of a way to print a single list of all the
Folders, Subfolders & Filenames in a specific drive or directory? Thanks!!

DirPrinting is a simple program for viewing and printing directories.
This list can be send to any printer (printing preview and storage
included). Functions as "copy to clipboard", "save as file", "send by
email", "include subdirectories" or "file filter" are all available.

http://www.majusoft.de/DirPrinting/index_en.htm
 
W

Wesley Vogel

Several ways to do this. Here are a couple.

Add a Print Directory Feature for Folders in Windows XP
http://www.mvps.org/sramesh2k/PrintDirectory.htm

HOW TO: Add a "Print Directory" Feature for Folders in Windows XP
http://support.microsoft.com/kb/321379

Karen's Directory Printer
http://www.karenware.com/powertools/ptdirprn.asp

You can use the dir command and send the output to a text file.

Open a command prompt...
Start | Run | Type: cmd | Click OK or hit your Enter key.

Change Directory to the folder that you want.

cd C:\Documents and Settings\Your Name Here\blahblah

Hit your Enter key.

Type or paste the following command and hit Enter.

dir /b /o:ng > "%userprofile%\Desktop\Directory.txt"

Directory.txt will be created on your Desktop.

Without Changing Directory.

Open a command prompt and type or paste the following command and hit Enter
after changing the path in the command to the folder that you want.

dir "C:\Documents and Settings\Your Name Here\blahblah" /b
/n>"%userprofile%\Desktop\dirlist.txt"

The line wrapped. There should be one space between /b and /n.

Directory.txt will be created on your Desktop.

/b Uses bare format, no date, time or size listed.

/o:ng O list by files in sorted order. N alphabetic by name. G groups
directories first.

Type: cd /? for Help on the cd command.

Type: dir /? for Help on the dir command.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
R

RobertVA

PlayingToAudienceOfOne said:
Does any genius out there know of a way to print a single list of all the
Folders, Subfolders & Filenames in a specific drive or directory? Thanks!!

OR...

Open a Command prompt window.

Redirect a "dir" command to a text file
Example: dir a: /s >"%homedrive%%homepath%\My Documents\listing.txt"

Open dirlist.txt with wordpad or your favorite word processor and print
from there. The above example should list the contents of a floppy disk
in a listing.txt file in your "My Documents" folder. the use of a word
processer allows you to add identifying headers and page numbers to your
printout.


About that %homedrive% and %homepath% business:

There are two of several standard names for locations in a Windows XP
operating system. Read these articles for more information
http://www.microsoft.com/resources/...docs/en-us/ntcmds_shelloverview.mspx?mfr=true

http://www.wilsonmar.com/1envvars.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top