Solved

Copy dos cmd output to txt file

Posted on 2006-11-15
10
11,585 Views
Last Modified: 2011-08-18
How can I output the results from a dos command line to a txt file on the root of c?
0
Comment
Question by:COwebmaster
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
10 Comments
 
LVL 67

Accepted Solution

by:
sirbounty earned 500 total points
ID: 17947943
CommandFile > \Output.txt

> is a redirect to a file
>> appends to the specified file
0
 
LVL 14

Expert Comment

by:inbarasan
ID: 17948032
Dear COwebmaster,
command file >C:\output.txt

Cheers!
0
 

Author Comment

by:COwebmaster
ID: 17948038
Thanks!
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 67

Expert Comment

by:sirbounty
ID: 17948082
Wow...10 minutes earlier with the same exact solution.
How come you accepted the second post and not mine?
0
 

Author Comment

by:COwebmaster
ID: 17948129
Sorry, sirbounty, honestly didn't see your response until after I gave out points.
0
 
LVL 14

Expert Comment

by:inbarasan
ID: 17948167
You can req the expert support to reopen the ticket and accept sirbounty answer. I was late in responding to the call :-(
0
 

Author Comment

by:COwebmaster
ID: 17948247
How do I do that?
0
 
LVL 14

Expert Comment

by:inbarasan
ID: 17948293
Go here: http://www.experts-exchange.com/Community_Support/Feedback/

Specify the link to this message and tell them you want to open
0
 

Author Comment

by:COwebmaster
ID: 17948544
thank you all!
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

One of my most closely kept secrets is revealed in this discussion How to output text on the same line This question was recently posted in EE by Simon336697 (http://www.experts-exchange.com/Programming/Languages/Scripting/Shell/Batch/Q_2459…
TOMORROW TOMORROW.BAT is inspired by a question I get asked over and over again; that is, "How can I use batch file commands to obtain tomorrow's date?" The crux of this batch file revolves around the XCOPY command - a technique I discovered w…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question