How to quickly save what is currently shown in cmd.exe to a file
Posted
by
Zeiga
on Super User
See other posts from Super User
or by Zeiga
Published on 2012-04-12T21:19:19Z
Indexed on
2012/04/13
11:34 UTC
Read the original article
Hit count: 244
I am asking if there is a quick way/command to save the current standard output from cmd.exe or powershell to a file.
For example, I have run a bunch of commands in cmd.exe which generating like hundreds of lines of standard output. Ideally, I am looking for a single command to do "select all" and save to a file automatically.
Note: I've read this. But I don't want to change my original commands, so ">" or ">>" redirection cannot be used in this scenario.
Thanks.
© Super User or respective owner