list folder tree in XP SP2

O

Observer

requested help to create folder tree in Windows XP SP2

or

to list all the folders and subfolders
 
B

Bruce Chambers

Observer said:
requested help to create folder tree in Windows XP SP2

or

to list all the folders and subfolders


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
 
O

Observer

Thanks for your kind effort. However this solution did not provide tree or
list of folders and subfolders.
 
S

Shenan Stanley

Observer said:
requested help to create folder tree in Windows XP SP2

or

to list all the folders and subfolders

Search any?

Start button --> RUN --> type in:
cmd /k tree /?
--> Click OK.

You should be okay from there. ;-)

If not - come back.
 
J

jyazelz

requested help to create folder tree in Windows XP SP2

or

to list all the folders and subfolders
-------------------

start a command prompt window.

then enter: c: (or whatever drive that you want)
cd \
dir *.* /s /x > dirfile.txt

If you want other parameters, enter: dir /? (to see all the possible

ones)


Jack
 
B

Barry Schwarz

Thanks for your kind effort. However this solution did not provide tree or
list of folders and subfolders.

Unfortunately, by starting a new thread and not quoting anything from
previous messages, no one knows what you are referring to.
 
A

Al Falfa

Barry said:
Unfortunately, by starting a new thread and not quoting anything from
previous messages, no one knows what you are referring to.

The post is actually a *reply* in the thread the OP started (see
'References:'). But his new 'Subject:' plus no quoting, make it look
like a new thread with no context.
 
O

Observer

Thanks.

However, it did not solve my problem.

Actually, I want to have a list of folders and subfolders in tree structure
to make a comment about which ones have organized parttern of files and which
not.

I am familiar with a old MS DOS system that would show folder tree. But I am
trying to get that one.......still no success.

Observer
 
O

Observer

it looks, if i type "tree" command in Command Prompt, I can get tree structure.

But it is extensive and I can not copy it to Excel to evaluate the contents
in folders and sub folders.

Thanks

Observer
 
J

John John - MVP

You can use the DIR command and redirect the output to a file:

CD\

dir /ad /s >c:\test.txt

or

dir /ad /s /b >c:\test.txt

Do dir /? for help on the command.

John
 
O

Observer

Thanks, the process works to great extent. However, it is saying that "access
is denied"

Still I can not transfer the tree or Dir information into *.txt, *.xls or
*.doc files.

Would you please review this situation?

Thanks again.

Observer
 
B

Big_Al

Observer said this on 4/2/2009 1:16 PM:
it looks, if i type "tree" command in Command Prompt, I can get tree structure.

But it is extensive and I can not copy it to Excel to evaluate the contents
in folders and sub folders.

Thanks

Observer

When at the command prompt, type:

tree > file.txt

Putting the "> filename.txt" at the end will redirect that screen output
to a file. You can now open that file with notepad and copy/paste into
other programs.
 
O

Observer

Thanks. It was really great solution.

Big_Al said:
Observer said this on 4/2/2009 1:16 PM:

When at the command prompt, type:

tree > file.txt

Putting the "> filename.txt" at the end will redirect that screen output
to a file. You can now open that file with notepad and copy/paste into
other programs.
 

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