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
 
"F. Lawrence Kulchar" <FLawrenceKulchar@discussions.microsoft.com> wrote:

> 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.

--
d-d
 
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...
> "F. Lawrence Kulchar" <FLawrenceKulchar@discussions.microsoft.com> wrote:
>
>> 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.
>
> --
> d-d
 
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...
> "F. Lawrence Kulchar" <FLawrenceKulchar@discussions.microsoft.com> wrote:
>
>> 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.
>
> --
> d-d
 
"|" is "pipe", that is, Shift + \ keys.

"FLKulchar" wrote:

> 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...
> > "F. Lawrence Kulchar" <FLawrenceKulchar@discussions.microsoft.com> wrote:
> >
> >> 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.
> >
> > --
> > d-d

>
>
>
 
FLKulchar wrote:
> 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" <detdreyer@flashmail.com> wrote in message
> news:4f963b616bbd6732b1756ac29d690ee6@d-d.mvps.org...
>> "F. Lawrence Kulchar" <FLawrenceKulchar@discussions.microsoft.com> wrote:
>>
>>> 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.
>>
>> --
>> d-d
 
"FLKulchar" wrote:

> 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.

--
d-d
 
"Detlev Dreyer" <detdreyer@flashmail.com> wrote:

> "FLKulchar" wrote:
>
>> Why does c:\Documents and Settings\user\TREE work?

>
> 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.

--
d-d
 
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:
> 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...
>
>>"F. Lawrence Kulchar" <FLawrenceKulchar@discussions.microsoft.com> wrote:
>>
>>
>>>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.
>>
>>--
>>d-d

>
>
>
 
Back
Top