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.