Home | Troubleshooting |  Quick Setup  |  Cisco How to  |  Wireless  |  Forums   | Site Map | Services  | About Us | Chicagotech MVP  | Search  | Contact Us  |              

 

 

How to save a command result to a file

 

You can use > or >> to save a command line result, for example ipconfig /all >C:\ipconfig.txt.

 

To save multiple commands' results, use >>. For example you create a batch file to collect all username and date they logon, use this command: "echo %date% %time% Program: %0 User: %username% >>C:\temp\username.txt.

Post your questions, comments, feedbacks and suggestions

Contact a consultant

Related Topics


 

 


 

 

Hit Counter   This web is provided "AS IS" with no warranties.
Copyright 2002-2017 ChicagoTech.net, All rights reserved. Unauthorized reproduction forbidden.