Skip to content

Record DOS Commands Outputs to Document File in Windows 7

By Codrut Nistor

Posted in How-to, Windows-7

In many cases where administrators need to keep records of every event that they have fired in Windows 7 they can generate log files to do so. However some events do not allow involved applications to create log files for example output results of DOS commands and hence inexperienced administrators stand in the middle of nowhere looking out for some solution. One option can be that administrators can manually document every event and their results. This process can be quite hectic and time taking and many times this practice may end up with several human errors. Taking the above example as an administrator if you want to maintain accurate transaction records of DOS commands you can copy the results to the clipboard and then you can paste the output to any document file. Process to this is given as below:

  1. Logon to Window 7 Computer with any account.

  2. Open DOS command prompt by typing CMD command in search box at the bottom of start menu.

  3. Type the command output of which you want to record followed by | (pipe sign) and Clip command and press enter key.

  4. This will copy the results to the clipboard of Windows 7.

  5. Open any available text editor in your computer e.g. Notepad WordPad MS Word etc.

  6. Press Ctrl + Vkeys to paste the clipboard information on the text editor.

  7. Finally save the file with any desired name.