A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » General XP issues or comments
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

DOS command



 
 
Thread Tools Display Modes
  #1  
Old December 15th 07, 08:12 PM posted to microsoft.public.windowsxp.general
F. Lawrence Kulchar
external usenet poster
 
Posts: 70
Default DOS command

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
Ads
  #2  
Old December 15th 07, 08:38 PM posted to microsoft.public.windowsxp.general
Detlev Dreyer
external usenet poster
 
Posts: 2,120
Default DOS command

"F. Lawrence Kulchar" 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
  #3  
Old December 15th 07, 11:50 PM posted to microsoft.public.windowsxp.general
FLKulchar
external usenet poster
 
Posts: 57
Default DOS command

That is a "WOW"...thanks for the help...

What is " | " called??
"Detlev Dreyer" wrote in message
...
"F. Lawrence Kulchar" 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



  #4  
Old December 15th 07, 11:58 PM posted to microsoft.public.windowsxp.general
FLKulchar
external usenet poster
 
Posts: 57
Default DOS command

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" wrote in message
...
"F. Lawrence Kulchar" 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



  #5  
Old December 16th 07, 12:01 AM posted to microsoft.public.windowsxp.general
Script
external usenet poster
 
Posts: 291
Default DOS command

"|" is "pipe", that is, Shift + \ keys.

"FLKulchar" wrote:

That is a "WOW"...thanks for the help...

What is " | " called??
"Detlev Dreyer" wrote in message
...
"F. Lawrence Kulchar" 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




  #6  
Old December 16th 07, 04:20 AM posted to microsoft.public.windowsxp.general
RobertVA
external usenet poster
 
Posts: 386
Default DOS command

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" wrote in message
...
"F. Lawrence Kulchar" 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


  #7  
Old December 16th 07, 12:20 PM posted to microsoft.public.windowsxp.general
Detlev Dreyer
external usenet poster
 
Posts: 2,120
Default DOS command

"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
  #8  
Old December 16th 07, 12:32 PM posted to microsoft.public.windowsxp.general
Detlev Dreyer
external usenet poster
 
Posts: 2,120
Default DOS command

"Detlev Dreyer" 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
  #9  
Old December 17th 07, 06:43 PM posted to microsoft.public.windowsxp.general
Bob I
external usenet poster
 
Posts: 9,943
Default DOS command

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" wrote in message
...

"F. Lawrence Kulchar" 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





 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 02:45 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.