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

  • Thread starter Thread starter F. Lawrence Kulchar
  • Start date 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
 
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
 
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
 
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??"
 
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??"
 
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
 
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?
 
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?
 
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??"
 
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
 
Back
Top