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
Solution:
It’s a bit tricky, but you can make the cmd fullscreen:
Launch the CMD and write the following code:
mode 800
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:
Open an editor and write in the code
@Echo Offmode 800
Now change the filename to
.cmd
or.bat
Put it in the autostart.
To put it in the autostart for all users, do the following:- Go to the registry by entering
regedit.exe
in the windows-searchfield. Go to the following path:
HKEY_LOCAL_MACHINESoftwareMicrosoftCommand Processor
Optional: If you want to do it just for the actual user, go to the following path:
HKEY_CURRENT_USERSoftwareMicrosoftCommand Processor
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.Now you have to change the value of the value. Rightclick on the key and choose
edit
.Now set the value to the path, where your script is:
- Go to the registry by entering
Everytime you now launch your machine, your cmd will be able to go fullscreen.