Take the 2-minute tour ×

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

5 Answers 5

up vote 10 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 - code.google.com/p/conemu-maximus5 –  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

I prefer to use FireCMD console emulator. It makes re-sizing cmd.exe so simple like any other GUI application. It also provides a full-screen mode and has other cool features. FireCMD vs CMD.exe comparision.

share|improve this answer

Your Answer


