Print folders

  • Thread starter Thread starter zulu
  • Start date Start date
Z

zulu

Hi

How can I create a .txt file or print a list of all the subfolders within a
folder?

Example:

Books
Author1's name
Book title
Book title
Book title
Author2's name
Book title
Book title

etc.

I don't want to list the actual files.

I am using XP pro in Classic mode.
 
Hi

How can I create a .txt file or print a list of all the subfolders within a
folder?

Example:

Books
            Author1's name
                                    Book title
                                    Book title
                                    Book title
            Author2's name
                                    Book title
                                    Book title

etc.

I don't want to list the actual files.

I am using XP pro in Classic mode.

Go to a command prompt and type DIR /? to see the directory listing
options -

The following two commands will do what you request, depending on how
you want the format to look:

DIR /AD /S >dirlist.txt

or

DIR /AD /B /S >dirlist.txt
 
Hi

How can I create a .txt file or print a list of all the subfolders within
a
folder?

Example:

Books
Author1's name
Book title
Book title
Book title
Author2's name
Book title
Book title

etc.

I don't want to list the actual files.

I am using XP pro in Classic mode.

Go to a command prompt and type DIR /? to see the directory listing
options -

The following two commands will do what you request, depending on how
you want the format to look:

DIR /AD /S >dirlist.txt

or

DIR /AD /B /S >dirlist.txt

Sorry, but I am doing something wrong :-(((

I am doing:


Start
Run
G:/BOOKS /AD /S >dirlist.txt

or

Start
Run
G:/BOOKS /AD /B /S >dirlist.txt

Both just open the BOOKS folder
 
zulu said:
Go to a command prompt and type DIR /? to see the directory listing
options -

The following two commands will do what you request, depending on
how
you want the format to look:

DIR /AD /S >dirlist.txt

or

DIR /AD /B /S >dirlist.txt

Sorry, but I am doing something wrong :-(((

I am doing:


Start
Run
G:/BOOKS /AD /S >dirlist.txt

or

Start
Run
G:/BOOKS /AD /B /S >dirlist.txt

Both just open the BOOKS folder
You need to actually the command prompt

Start > Run
cmd

Then in the command prompt type:

dir G:/books /ad /b /s > dirlist.txt
 
Another Brian said:
You need to actually the command prompt

Start > Run
cmd
Ah.....



Then in the command prompt type:

dir G:/books /ad /b /s > dirlist.txt
Does nothing :-((
All I get is another command pronpt.

Tried typing it all , and rt click and paste.
neithe way works.
Sorry :-(((
 
zulu said:
Does nothing :-((
All I get is another command pronpt.

Tried typing it all , and rt click and paste.
neithe way works.
Sorry :-(((

google "Karen's Power Tools"

You'll find a nice FREE GUI program that does what you want.
 
HeyBub said:
Yes it does. It put what you wanted in the file "dirlist.txt"


I searched for that ang foung... a blak page...

Is the priblem that *G* is not the main drive?
(it is a usb2 drive, one of three
)
 
HeyBub said:
Yes it does. It put what you wanted in the file "dirlist.txt"



I searched for that and found... a blank page...:-((

Is the problem that *G* is not the main drive?
(it is a usb2 drive, one of three).
 
zulu said:
I searched for that and found... a blank page...:-((

Is the problem that *G* is not the main drive?
(it is a usb2 drive, one of three).

That command should read dir G:\books /ad /b /s > dirlist.txt

The slash (rather than backslash) should generate an error message.
 
Elmo said:
That command should read dir G:\books /ad /b /s > dirlist.txt

The slash (rather than backslash) should generate an error message.

Oh welll, trying kept me off the streets for a while... :-))


I managed to do what I wanted with the Karen's Powertoys program after a few
false starts.

(*Karen's Directory Printer* - very nice, thank you Karen).

<hint>
Don't print out the whole directory until you are sure you have the software
configured correctly....
Fortunately the printer was nearly out of paper! <g>


Thanks to all for your input.
 
zulu said:
Hi

How can I create a .txt file or print a list of all the subfolders within a
folder?

Example:

Books
Author1's name
Book title
Book title
Book title
Author2's name
Book title
Book title

etc.

I don't want to list the actual files.

I am using XP pro in Classic mode.


From the command prompt (Start > Run > Cmd.exe), simply change to
the desired directory and type "dir > filelist.txt" or "dir > lpt1,"
just as one used to do in DOS. Any of the switches for the DIR command
(type "dir /?") will work with this command, if you wish to modify the
output. You can then subsequently edit the resulting text file using
NotePad, WordPad, Word, etc.

Alternatively:

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

Directory Lister
http://www.krksoft.com/index.php



--

Bruce Chambers

Help us help you:


http://support.microsoft.com/default.aspx/kb/555375

They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety. ~Benjamin Franklin

Many people would rather die than think; in fact, most do. ~Bertrand Russell

The philosopher has never killed any priests, whereas the priest has
killed a great many philosophers.
~ Denis Diderot
 
Back
Top