Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 11591
  • Last Modified:

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?
0
COwebmaster
Asked:
COwebmaster
  • 4
  • 3
  • 2
1 Solution
 
sirbountyCommented:
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
[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

 
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

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

  • 4
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now