I’d like to easily save the log of the Windows command prompt into a file. Is there any alternative to select everything and right-click on copy?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can redirect the output of a cmd prompt to a file using
>or>>to append to a file.i.e.
or
Note that using
>will automatically overwrite the file if it already exists.You also have the option of redirecting stdin, stdout and stderr.
See here for a complete list of options.