Solved

Copy dos cmd output to txt file

Posted on 2006-11-15
10
11,580 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
 
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
script to remove empty folders 3 60
Windows 7 Pro - Pause Not Pausing In Batch File 24 59
MailSend Attachments 41 142
question about windows batch/script 3 52
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…
Introduction: Recently, I got a requirement to zip all files individually with batch file script in Windows OS. I don't know much about scripting, but I searched Google and found a lot of examples and websites to complete my task. Finally, I was ab…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

910 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

22 Experts available now in Live!

Get 1:1 Help Now