redirect command output

If you want to keep records of certain commands you have run you can redirect them to a text file.

ipconfig /all > C:\ipconfig.txt This will send the output of the command to the text file.

ipconfig /all >> C:\ipconfig.txt This will send the output of the command to the text file but not overwrite it and instead append to it.

For more information on this see the link below:

Redirect Command