doskey /history > commands.log - dump command line promt history to file
some_command > output_file.txt 2>&1
- Redirect stdout and stderr to the same file [src]
No comments:
Post a Comment