Copy dos cmd output to txt file

How can I output the results from a dos command line to a txt file on the root of c?
COwebmasterAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
sirbountyConnect With a Mentor Commented:
CommandFile > \Output.txt

> is a redirect to a file
>> appends to the specified file
0
 
inbarasanCommented:
Dear COwebmaster,
command file >C:\output.txt

Cheers!
0
 
COwebmasterAuthor Commented:
Thanks!
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
sirbountyCommented:
Wow...10 minutes earlier with the same exact solution.
How come you accepted the second post and not mine?
0
 
COwebmasterAuthor Commented:
Sorry, sirbounty, honestly didn't see your response until after I gave out points.
0
 
inbarasanCommented:
You can req the expert support to reopen the ticket and accept sirbounty answer. I was late in responding to the call :-(
0
 
COwebmasterAuthor Commented:
How do I do that?
0
 
inbarasanCommented:
Go here: http://www.experts-exchange.com/Community_Support/Feedback/

Specify the link to this message and tell them you want to open
0
 
COwebmasterAuthor Commented:
thank you all!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.