Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you print a list of files from 'Explore'?

Status
Not open for further replies.

wyld

Programmer
Apr 23, 2001
28
US

Sounds easy but how do you do it (other than doing a print screen)?
 
Go to a Command prompt. For example, Start Run CMD
Change to desired directory using CD command.
Generate a sorted list of files in the directory using :

dir /s >C:\Temp\Dir.TXT

Now the file can be opened in Word, Notepad, Excel, etc.

Look into other dir options using dir /?
You may find parameters that are more suited to what you want to do.
 

Thanks! It worked like a charm. *s*
 
If you just want a list of directories / files print you could try using this at the command prompt.


Dir C:\ >> Lpt1

Where C:\ is the directory you interested in and Lpt1 is where your printer is mapped to.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top