I have executed a command on Windows 10 Command Prompt and forgot to use '>' operator to redirect the results to a file. Now the result is too long and I cannot see the whole result even with scrolling up. How can I save the whole result in a file after executing it?

1 Answer 1


I don't think you can retroactively get that data back since its probably in a screen buffer that overwrites itself when screen fills. You'll need to re-run the command with the > symbol as you've indicated

  • Thanks. I was executing a python script that was time consuming (about 12 hours) :(
    – Atena
    Jan 29, 2018 at 22:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.