Solved

Copy dos cmd output to txt file

Posted on 2006-11-15
10
11,582 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
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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

The following is a collection of cases for strange behaviour when using advanced techniques in DOS batch files. You should have some basic experience in batch "programming", as I'm assuming some knowledge and not further explain the basics. For some…
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

777 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