'TREE' command...entire c:\ drive

  • Thread starter F. Lawrence Kulchar
  • Start date
F

F. Lawrence Kulchar

This concerns the 'TREE' command at the command prompt:

Why does c:\Documents and Settings\user\TREE work?

while c:\TREE does NOT work?

Or, how can I view my tree within my entire harddrive?

In other words, when I type, "c:\Documents and Settings\user\TREE ", I get
the tree listing of the 'Documents and Settings' folder.

How can I view same for the entire c:\ drive??

Thanks,
FLKulchar
 
S

Shenan Stanley

F. Lawrence Kulchar said:
This concerns the 'TREE' command at the command prompt:

Why does c:\Documents and Settings\user\TREE work?

while c:\TREE does NOT work?

Or, how can I view my tree within my entire harddrive?

In other words, when I type, "c:\Documents and Settings\user\TREE
", I get the tree listing of the 'Documents and Settings' folder.

How can I view same for the entire c:\ drive??

TREE [drive:][path] [/F] [/A]
/F Display the names of the files in each folder.
/A Use ASCII instead of extended characters.

So...

Start button --> RUN --> CMD --> OK

TREE C:\
<enter>

Want to save the results to a text file?

TREE C:\ > c:\tree.txt
<enter>

Although I am unsure why you would want that. heh
 
F

FLKulchar

Please be more specific; I am a novice, and need more precise data.

Thanks,

FLKulchar
Shenan Stanley said:
F. Lawrence Kulchar said:
This concerns the 'TREE' command at the command prompt:

Why does c:\Documents and Settings\user\TREE work?

while c:\TREE does NOT work?

Or, how can I view my tree within my entire harddrive?

In other words, when I type, "c:\Documents and Settings\user\TREE
", I get the tree listing of the 'Documents and Settings' folder.

How can I view same for the entire c:\ drive??

TREE [drive:][path] [/F] [/A]
/F Display the names of the files in each folder.
/A Use ASCII instead of extended characters.

So...

Start button --> RUN --> CMD --> OK

TREE C:\
<enter>

Want to save the results to a text file?

TREE C:\ > c:\tree.txt
<enter>

Although I am unsure why you would want that. heh
 
S

Shenan Stanley

F. Lawrence Kulchar said:
This concerns the 'TREE' command at the command prompt:

Why does c:\Documents and Settings\user\TREE work?

while c:\TREE does NOT work?

Or, how can I view my tree within my entire harddrive?

In other words, when I type, "c:\Documents and Settings\user\TREE
", I get the tree listing of the 'Documents and Settings' folder.

How can I view same for the entire c:\ drive??

Shenan said:
TREE [drive:][path] [/F] [/A]
/F Display the names of the files in each folder.
/A Use ASCII instead of extended characters.

So...

Start button --> RUN --> CMD --> OK

TREE C:\
<enter>

Want to save the results to a text file?

TREE C:\ > c:\tree.txt
<enter>

Although I am unsure why you would want that. heh
Please be more specific; I am a novice, and need more precise data.

I cannot be more specific than I was.

I gave you the EXACT commands and methods to execute those commands.

I am unsure what 'specifics' beyond that you are looking for in reference to
your query of, "How can I view same for the entire c:\ drive??"
 
F

FLKulchar

typing "tree c:" works!

but, I only end up with only the subfolders as: "C:\documents and
settings\user TREE"

In other words, the listing is the same for both entries; the tree
subfolders do not display except for the c:\documents and settings\user
folder?

I am perplexed.

FLKulchar
Shenan Stanley said:
F. Lawrence Kulchar said:
This concerns the 'TREE' command at the command prompt:

Why does c:\Documents and Settings\user\TREE work?

while c:\TREE does NOT work?

Or, how can I view my tree within my entire harddrive?

In other words, when I type, "c:\Documents and Settings\user\TREE
", I get the tree listing of the 'Documents and Settings' folder.

How can I view same for the entire c:\ drive??

Shenan said:
TREE [drive:][path] [/F] [/A]
/F Display the names of the files in each folder.
/A Use ASCII instead of extended characters.

So...

Start button --> RUN --> CMD --> OK

TREE C:\
<enter>

Want to save the results to a text file?

TREE C:\ > c:\tree.txt
<enter>

Although I am unsure why you would want that. heh
Please be more specific; I am a novice, and need more precise data.

I cannot be more specific than I was.

I gave you the EXACT commands and methods to execute those commands.

I am unsure what 'specifics' beyond that you are looking for in reference
to your query of, "How can I view same for the entire c:\ drive??"
 
L

Lem

FLKulchar said:
typing "tree c:" works!

but, I only end up with only the subfolders as: "C:\documents and
settings\user TREE"

In other words, the listing is the same for both entries; the tree
subfolders do not display except for the c:\documents and settings\user
folder?

I am perplexed.

FLKulchar
Shenan Stanley said:
F. Lawrence Kulchar said:
This concerns the 'TREE' command at the command prompt:

Why does c:\Documents and Settings\user\TREE work?

while c:\TREE does NOT work?

Or, how can I view my tree within my entire harddrive?

In other words, when I type, "c:\Documents and Settings\user\TREE
", I get the tree listing of the 'Documents and Settings' folder.

How can I view same for the entire c:\ drive??
Shenan said:
TREE [drive:][path] [/F] [/A]
/F Display the names of the files in each folder.
/A Use ASCII instead of extended characters.

So...

Start button --> RUN --> CMD --> OK

TREE C:\
<enter>

Want to save the results to a text file?

TREE C:\ > c:\tree.txt
<enter>

Although I am unsure why you would want that. heh
FLKulchar said:
Please be more specific; I am a novice, and need more precise data.
I cannot be more specific than I was.

I gave you the EXACT commands and methods to execute those commands.

I am unsure what 'specifics' beyond that you are looking for in reference
to your query of, "How can I view same for the entire c:\ drive??"

If, for some unknown reason, you want the "tree" view for your *entire*
hard drive, either:

1) change directory to the root before you run the tree command:
cd C:\ [enter]
tree [enter] OR tree | more [enter]

OR

2) specify the directory properly in the tree command, including the \,
that is:

tree c:\ [enter]

--
Lem -- MS-MVP - Networking

To the moon and back with 2K words of RAM and 36K words of ROM.
http://en.wikipedia.org/wiki/Apollo_Guidance_Computer
http://history.nasa.gov/afj/compessay.htm
 
H

HeyBub

FLKulchar said:
typing "tree c:" works!

but, I only end up with only the subfolders as: "C:\documents and
settings\user TREE"

In other words, the listing is the same for both entries; the tree
subfolders do not display except for the c:\documents and
settings\user folder?

I am perplexed.

Do it exactly as was reported.

In your dumb case, you left out the backslash.

The TREE command has to start somewhere and it does NOT always start at the
root directory.

The TREE command began its work in the current folder (C:\documents and
settings\user) not the root folder (C:\). See the backslash?
 
F

FLKulchar

Thank you...I forgot the "\"

FLKulchar
HeyBub said:
Do it exactly as was reported.

In your dumb case, you left out the backslash.

The TREE command has to start somewhere and it does NOT always start at
the root directory.

The TREE command began its work in the current folder (C:\documents and
settings\user) not the root folder (C:\). See the backslash?
 
F

FLKulchar

I typed your command: TREE C:\ > c:\tree.txt

Where is the text file?

FLKulchar

Shenan Stanley said:
F. Lawrence Kulchar said:
This concerns the 'TREE' command at the command prompt:

Why does c:\Documents and Settings\user\TREE work?

while c:\TREE does NOT work?

Or, how can I view my tree within my entire harddrive?

In other words, when I type, "c:\Documents and Settings\user\TREE
", I get the tree listing of the 'Documents and Settings' folder.

How can I view same for the entire c:\ drive??

Shenan said:
TREE [drive:][path] [/F] [/A]
/F Display the names of the files in each folder.
/A Use ASCII instead of extended characters.

So...

Start button --> RUN --> CMD --> OK

TREE C:\
<enter>

Want to save the results to a text file?

TREE C:\ > c:\tree.txt
<enter>

Although I am unsure why you would want that. heh
Please be more specific; I am a novice, and need more precise data.

I cannot be more specific than I was.

I gave you the EXACT commands and methods to execute those commands.

I am unsure what 'specifics' beyond that you are looking for in reference
to your query of, "How can I view same for the entire c:\ drive??"
 
H

HeyBub

FLKulchar said:
I typed your command: TREE C:\ > c:\tree.txt

Where is the text file?

Where you told the command to put it: - C:\ [the root folder of C:] - and
the file's name is TREE.TXT
 

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