How do you output the contents of a console screen to file?

Printable View