Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm working on a Windows xp machine. I wrote a program in assembly that outputs some text, and am trying to create a screenshot of the command line output (start->run->"cmd").

The problem is that the text initially printed by the program gets pushed up by later text and I cannot scroll to it.

I tried playing around with the width and height under properties => layout but it seems to resize the window itself (the borders) without resizing the textarea inside the window (text does not have more "room", but the window is bigger).

Does anybody know a workaround/solution for this?

Thank you!

share|improve this question
up vote 11 down vote accepted

Resizing under the properties dialog should work (ensure you are resizing the width and buffer size, resizing the window alone should also increase the buffer), but if it doesn't work you could always:

  • Redirect the output to a file:

    program.exe > C:\path\to\file.txt
  • Check out Console2

share|improve this answer
It's very easy to setup a shortcut with the size parameters you desire for your command prompt.... but I, too, and a HUGE fan of Console2. – Murdoch Ripper Dec 21 '09 at 5:12
You can also hit Alt-Space and go to the Properties tab. – user211994 Mar 27 '13 at 21:27
You could also try conemu - – patricks Apr 25 '13 at 11:14

There's a setting on one of the tabs where you can set the buffer-size (how many lines it should store for scrolling).

Edit: You can find it in the Layout-Tab, Screen Buffer Size. Set the Height to the number of lines you wanna store for scrolling.

share|improve this answer
thank you for the answer! – Yuval Dec 4 '09 at 23:08

You can use the following to do this as well:

mode con:cols=x lines=y

For example:

mode con:cols=150 lines=80

You can create shortcuts that do this automatically:

cmd /k mode con:cols=150 lines=80

cmd /k mode con:cols=80 lines=40
share|improve this answer

have a look at ColorConsole (it's free and portable), now you can either use Faststone Capture (a free and portable version can be obtained here) if you need a 'scroll screenshot' or use the ColorConsole feature to export the whole lot to HTML/RTF.

as a neat bonus you just got yourself a first class CMD replacement with a plethora of useful features such as favorite commands, copy/paste/cut functionality, tabbed interface, fast folder switch, etc.

share|improve this answer
I appreciate the reply. – Yuval Dec 6 '09 at 18:10

You must log in to answer this question.

protected by Community Sep 30 '15 at 14:31

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged .