Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Copy dos cmd output to txt file

Posted on 2006-11-15
10
Medium Priority
?
11,589 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 2000 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
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

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…
YESTERDAY YESTERDAY.BAT is inspired by a previous article I wrote entitled: TOMORROW.BAT (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/MS_DOS/A_4196-Advanced-Batch-File-Programming-TOMORROW-BAT.html). The crux of this batch f…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

596 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