More lines in the command window

Is it possible to get "more" lines in the command window (Console)?

When I debug my programs, I output a lot of lines to the window, and the beginning of the output disappears from the range that I can scroll back, so I do not see my full output from the beginning of the program.

How can I get a command window to save all lines?

(And yes, I could write it to a text file as a log, but I would like to try it for this change)

+102
cmd logging console
Nov 16 '09 at 8:44
source share
3 answers

At least in Win7, Kristina's answer now seems either to be his memory of commands entered on the command line, or the amount you can copy-paste.

To increase the scroll memory, I did the following:

  • Go to properties mentioned by Kristina
  • Go to the layout tab (this is the third)
  • Change the height of the screen buffer size to a maximum of 9999.

As Joey mentioned in the comments on Christina, answer, this will not work for what you have already done - only for what you do after making the changes.

This answer was originally written when Christina was marked as accepted. Now that this is an accepted answer, I edited my answer to avoid confusion.

+178
Feb 01 '13 at 19:19
source share

To complement the answer (s) above, you can also export lines to a txt file using > fileName.txt

For example:

 myProgram.exe > output.txt // will create a new file with all the output of myProgram 
+23
Feb 26 '14 at 8:17
source share

If you use Windows, click on the CMD icon in the upper left corner and go to properties.

Click the Options tab.

In the command history, enter or select 999 in the Buffer Size field, and then enter or select 5 in the Number of Buffers field.

+13
Nov 16 '09 at 8:51
source share



All Articles