Tom's Hardware > Forum > Windows XP > Configuration & Customize > Want to copy "tree" command's output from cmd prompt to Word

Want to copy "tree" command's output from cmd prompt to Word

Forum Windows XP : Configuration & Customize - Want to copy "tree" command's output from cmd prompt to Word

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

Archived from groups: microsoft.public.windowsxp.customize (More info?)

 

Using Win XP SP2. This should be easy, but I want to copy the *complete*
output of a simple "tree" command at the dos prompt. The problem is that
when I type in the command, and let it run to completion, and scroll back
up, I can only get part of the way--the first half of the tree just won't
show. I'm trying simply to right click the dos prompt's name
bar>edit>select all>copy.

Trying to select all also seems to interfere with the progress of the tree
output. I can let the command start running, but if I don't wait until the
end, it only prints out the tree part of the way.

I have tried selecting all before I run the "tree" command, and that doesn't
work either.

I want to copy the entire output of the tree command without switches to
Word, and there must be a way.

Would appreciate some help.

Chad Harris

Sponsored Links
Register or log in to remove.

Archived from groups: microsoft.public.windowsxp.customize (More info?)

 

"Chad Harris" <ddram32_nospam@yahoo.com> wrote:

>Using Win XP SP2. This should be easy, but I want to copy the *complete*
>output of a simple "tree" command at the dos prompt. The problem is that
>when I type in the command, and let it run to completion, and scroll back
>up, I can only get part of the way--the first half of the tree just won't
>show. I'm trying simply to right click the dos prompt's name
>bar>edit>select all>copy.

Try
TREE > C:\TREE.TXT
Open TREE.TXT on C:\ and copy the data.

--
(tm)

Reply to Anonymous

Archived from groups: microsoft.public.windowsxp.customize (More info?)

 

> Using Win XP SP2. This should be easy, but I want to copy the *complete*
> output of a simple "tree" command at the dos prompt. The problem is that
> when I type in the command, and let it run to completion, and scroll back
> up, I can only get part of the way--the first half of the tree just won't
> show. I'm trying simply to right click the dos prompt's name
> bar>edit>select all>copy.

You can redirect the output of any command to a text file instead of the
console:

tree > MyTree.txt

You can then open the MyTree.txt text file in Word.

--
Philippe Majerus
Microsoft MVP - Mobile Devices (http://support.microsoft.com/support/mvp)
Software and stuff - http://www.phm.lu/products
Computer Documentation - http://www.phm.lu/documentation

Reply to Anonymous
Tom's Hardware > Forum > Windows XP > Configuration & Customize > Want to copy "tree" command's output from cmd prompt to Word
Go to:

There are 1068 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them