DOS command

  • Thread starter Thread starter F. Lawrence Kulchar
  • Start date Start date
F

F. Lawrence Kulchar

What is the DOS command to interrupt the display to create a page-break..

For example, if I input 'TREE' at the command prompt, I get the entire tree
for the c: harddrive.

How can I either create page breaks on the way down or how can I scroll up
to view all the data?

Thanks,

FLKulchar
 
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?


Detlev Dreyer said:
F. Lawrence Kulchar said:
How can I either create page breaks on the way down

Type "TREE |more" (example).
or how can I scroll up to view all the data?

Proceed with the [Space] or [Enter] key.
 
FLKulchar said:
Why does c:\Documents and Settings\user\TREE work?

while c:\TREE does NOT work?

C:\TREE wouldn't work because the command interface can't find the file
containing the tree.com file.

Try putting the root of the tree you want to list after the command (as
in "tree c:\"). Don't forget the space to separate the command from the
folder.

If the tree.com file isn't in your system path try
"%SystemDirectory%tree c:\". But normally it's in the system path.

Let us know if the system directory has somehow been deleted from the
system path.
Or, how can I view my tree within my entire harddrive?


Detlev Dreyer said:
F. Lawrence Kulchar said:
How can I either create page breaks on the way down
Type "TREE |more" (example).
or how can I scroll up to view all the data?
Proceed with the [Space] or [Enter] key.
 
FLKulchar said:
Why does c:\Documents and Settings\user\TREE work?

Because the file "TREE.COM" is located within the default search path.
while c:\TREE does NOT work?

Because "TREE.COM" is located in the %windir%\System32 folder rather than
the C:\ root directory.
 
Detlev Dreyer said:
Because the file "TREE.COM" is located within the default search path.

Addendum to be more specific: C:\Documents and Settings\user\TREE
doesn't really work. What you're trying to say is that calling "TREE.COM"
from the "C:\Documents and Settings\user" prompt works and that's because
that file is located in the default search path %windir%\System32.
 
Tree /?

will show the input parameters


so

Tree C:\ /A | more OR

TREE C:\ /A > C:\listing.txt


will get you a text file of the whole shebang
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?


How can I either create page breaks on the way down

Type "TREE |more" (example).

or how can I scroll up to view all the data?

Proceed with the [Space] or [Enter] key.
 

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

Back
Top