- DOS command
- Posted by F. Lawrence Kulchar on December 15th, 2007
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
- Posted by Detlev Dreyer on December 15th, 2007
"F. Lawrence Kulchar" <FLawrenceKulchar@discussions.microsoft.com> wrote:
Type "TREE |more" (example).
Proceed with the [Space] or [Enter] key.
--
d-d
- Posted by FLKulchar on December 15th, 2007
That is a "WOW"...thanks for the help...
What is " | " called??
"Detlev Dreyer" <detdreyer@flashmail.com> wrote in message
news:4f963b616bbd6732b1756ac29d690ee6@d-d.mvps.org...
- Posted by FLKulchar on December 15th, 2007
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" <detdreyer@flashmail.com> wrote in message
news:4f963b616bbd6732b1756ac29d690ee6@d-d.mvps.org...
- Posted by Script on December 16th, 2007
"|" is "pipe", that is, Shift + \ keys.
"FLKulchar" wrote:
- Posted by RobertVA on December 16th, 2007
FLKulchar wrote:
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.
- Posted by Detlev Dreyer on December 16th, 2007
"FLKulchar" wrote:
Because the file "TREE.COM" is located within the default search path.
Because "TREE.COM" is located in the %windir%\System32 folder rather than
the C:\ root directory.
--
d-d
- Posted by Detlev Dreyer on December 16th, 2007
"Detlev Dreyer" <detdreyer@flashmail.com> wrote:
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.
--
d-d
- Posted by Bob I on December 17th, 2007
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
FLKulchar wrote: