Solved

Copy dos cmd output to txt file

Posted on 2006-11-15
10
11,578 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
  • 4
  • 3
  • 2
10 Comments
 
LVL 67

Accepted Solution

by:
sirbounty earned 500 total points
Comment Utility
CommandFile > \Output.txt

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

Expert Comment

by:inbarasan
Comment Utility
Dear COwebmaster,
command file >C:\output.txt

Cheers!
0
 

Author Comment

by:COwebmaster
Comment Utility
Thanks!
0
 
LVL 67

Expert Comment

by:sirbounty
Comment Utility
Wow...10 minutes earlier with the same exact solution.
How come you accepted the second post and not mine?
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

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

Expert Comment

by:inbarasan
Comment Utility
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
Comment Utility
How do I do that?
0
 
LVL 14

Expert Comment

by:inbarasan
Comment Utility
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
Comment Utility
thank you all!
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Using dates in 'DOS' batch files has always been tricky as it has no built in ways of extracting date information.  There are many tricks using string manipulation to pull out parts of the %date% variable or output of the date /t command but these r…
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

744 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now