How to save (redirect) a Command’s Output to a File in Command Prompt

Just use redirection operator to save a Command’s Output in Command Prompt to a File.

Example:

ping google.com > "C:\Users\Server\Desktop\Ping.txt"

The above command stores ping command output to a file by the name of Ping.txt located on my desktop.

How to save a Command's Outputin Command Prompt to a File2

How to save a Command's Outputin Command Prompt to a File

If you liked this article, please subscribe to our YouTube Channel. You can also stay connected with us on X (Twitter) and Facebook.



Leave a Reply