Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

This question already has an answer here:

I work a LOT in the windows command line. Unlike other windows, it doesn't maximize - it just goes a big as it can depending on the buffer size. Is there any way I can get the CMD to act like the PuTTY console, flowing with the resize?


NOTE: The answer doesn't have to be a tweak to the CMD. If there's a PuTTY-like program out there that will work between me and the command line I'm happy with that - I just want a proper window to work in

share|improve this question

marked as duplicate by Ƭᴇcʜιᴇ007, mpy, Tog, Marcks Thomas, Simon Sheehan Oct 21 '13 at 0:18

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
@Codemonkey: The problem is, if the program uses a true console, then it can't flow. If it mimics a console (like PuTTy), then it will necessarily fail to work well with some programs, i.e. ones that use low-level console I/O. Which do you prefer? –  Mehrdad May 19 '11 at 23:34
    
Who says I can't use both? :-) –  Hubro May 19 '11 at 23:37
    
Ah I see, so you just need the latter, right? (CMD is already the former.) –  Mehrdad May 19 '11 at 23:39
    
I never really use it, but I think PowerShell should have a bit more flexibility. –  Ciaran May 19 '11 at 23:46
    
I'm doing PHP and Python coding, so for all I know I only need the latter, yes. I'm thinking that if I were to ever need the former, I'd just use CMD :-) It's be awesome to have a proper command prompt window though –  Hubro May 19 '11 at 23:46
show 2 more comments

5 Answers 5

up vote 4 down vote accepted

It's a bit tricky, but you can make the cmd fullscreen:

  1. Launch the CMD and write the following code:

    mode 800
    
  2. Now you can make it fullscreen by pull the menubar to the top of the screen or resize it, to whatever size you want.

If you want, that this is set by default, do the following:

  1. Open an editor and write in the code

    @Echo Off
    mode 800
    
  2. Now change the filename to .cmd or .bat

  3. Put it in the autostart.
    To put it in the autostart for all users, do the following:

    1. Go to the registry by entering regedit.exe in the windows-searchfield.
    2. Go to the following path:

      HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor
      
    3. Optional: If you want to do it just for the actual user, go to the following path:

      HKEY_CURRENT_USER\Software\Microsoft\Command Processor
      
    4. Now add a key from type REG-SZ with the name Autorun and put the path of the script in the data-section of the key. enter image description here

    5. Now you have to change the value of the value. Rightclick on the key and choose edit. enter image description here

    6. Now set the value to the path, where your script is: enter image description here

Everytime you now launch your machine, your cmd will be able to go fullscreen.

share|improve this answer
    
This spawns scrollbars and the text doesn't wrap, but it's still the best solution I've seen so far! –  Hubro Oct 19 '13 at 22:09
    
Yes, it's a workaround. I dont know, why microsoft doesn't implement fullscreen ability. –  c0dev Oct 19 '13 at 22:12
    
@codemonkey, you can use '''mode 160''' or can test other number that matches desktop width without scrollbars... –  kokbira Nov 3 '13 at 19:28
    
@c0dev, I liked your solution :) –  kokbira Nov 3 '13 at 19:29
add comment
  1. Open CMD

  2. Right click on titlebar and choose "properties"

  3. In "layout" tab, in "screen buffer size" change from 80 to a number that will fit your screen width. E.g., in my notebook a CMD window is the half of my computer screen in width, so I choose 160.

  4. Maximize window and see if appears an horizontal scroll bar at bottom or if there are more space on the right. If so repeat step 3 using other widths (for me 158 functioned).

  5. In layout tab, copy values from "screen buffer size" to "windows size". Height will be locked to the maximum allowed (in mine case, 61) and it is done.

  6. Trick: if you want, for some reason, maintain original size of CMD window, create a link (or a lot of links) for CMD with different size. E.g., in my desktop there are two shortcuts for CMD. One is a shortut for "CMD" named "CMD - original". The other is a shortcut for "CMD /k cd \" named "CMD - big", with those sizes for fullscreen (158x61).

share|improve this answer
    
This answer is obvious and doesn't address the "flowing with the resize" part of my question, but it's still the best solution. Damn windows –  Hubro Nov 1 '11 at 22:56
add comment

No, the Windows architecture simply doesn't understand what "flowing text" means, in the console.

It would need to provide support for pseudo-TTY, but it doesn't: http://homepage.ntlworld.com/jonathan.deboynepollard/FGA/capture-console-win32.html

share|improve this answer
    
Updated my question –  Hubro May 19 '11 at 23:33
add comment

Open cmd.exe Right click on the title bar click properties click layout adjust to your liking.

share|improve this answer
1  
That doesn't make the text flow as the window is resized... –  Mehrdad May 19 '11 at 23:31
add comment

On most computers, Alt + Enter should let you enter or exit full screen. Note that this will hide your taskbar too.

share|improve this answer
1  
Not on 64-bit... –  Mehrdad May 19 '11 at 23:31
1  
Or 32-bit from Vista upwards I think. Was definitely applicable on XP though. –  Ciaran May 20 '11 at 0:03
1  
Screenshot: i.stack.imgur.com/j9aRm.png . Interesting, I never knew that. And that must be the reason why my Print Shop/New Print Shop (circa 1989/1993) won't run in W7 either! Wonder how to get them working...? –  therube May 20 '11 at 1:01
1  
    
@Hello71, thanks. –  therube May 20 '11 at 2:29
show 2 more comments

Not the answer you're looking for? Browse other questions tagged or ask your own question.