Windows 7 Export Command Prompt to Text File

Joined
Mar 20, 2012
Messages
764
Reaction score
4
I have a question I need some help with. I'm working on getting an automated setup for rebooting a stack of computers at a time (literally, a stack of laptops at my desk plugged into a switch). And I can create a batch file to reboot them all remotely no problem. What I would like to do is export everything to a text file, especially the errors. The problem that I'm running into is that when I add ">" or ">>" to a text file, it will export the commands, and the ECHO I have with a time and date stamp, but it will not export any errors that the shutdown command runs into. The main reason I want to export this batch file to text is so that I can make sure any problems occuring with the reboots is caught.

Thanks in advance!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top