Printing File Names

H

henry baker

How Can I Pring A List Of Files That i Have In A Folder.
open a command prompt, cd to that folder and execute the following:

dir > dir.txt
where dir.txt is a text file that will contain the results of the dir
command, It can have any name, the .txt extension makes it easy to read.
just print it from notepad or wordpad or whatever.

if you want to include the subdirectories, use
dir /s > dir.txt
if you want a very bare listing use:
dir /b > dir.txt

for all the options for the command dir, execute
help dir

these commands are for most windows OSs - I am using XP Pro
 
Z

zag

replace windows explorer with PowerDesk 5 freebie.
it does a lot of useful things that explorer can't.
z ------------------------------------------------
 

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