Windows CMD – How to Full-Screen the Command Prompt

command lineputtywindows

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

Best Answer

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.

Related Question