Default Settings for Command Prompt
The default command prompt setting on Windows is pretty limited. Some limitation that I found while working on the command prompt is as follows…
- Screen buffer size is very little. This means output of commands like ‘tree’ will not show up entirely in the command prompt. Once you scroll up you’ll not see the whole text. As a workaround you’ll have to redirect output to a text file.
- Same with horizontal text, the text wraps around once the text touches the horizontal screen limit. I find this behavior annoying since this reduces readability.
- Color is black and white. Its always cool to have different colors. I normally have dark red as background and white as foreground color.
- Window size is limited. When you maximize command prompt it will only take half the screen size horizontally.
- Its so painful to copy and paste. I want this feature to behave as in text editors like notepad. For e.g. just drag to select, instead of right clicking and selecting the “Mark” option.
After Customization of Command Prompt
Its very easy to customize our good old command prompt so that it stores more text vertically as well as horizontally. We can easily give good colors, better height and width etc. After customization this is how my command prompt looks in normal mode.
Keep an eye on the scrollbar. The scrollbar thumbs are very small in size meaning they can scroll a lot more, which means more text. If you maximize the command prompt it occupies the entire screen as well.
If you look at the above output and the vertical scrollbar, I still have lots of screen buffer. If I scroll up I still see the command’s entire output. Isn’t this cool.
Copying and pasting is easy as well. Drag to select, right click on the selected area to copy and right click again to paste . LOL that’s real cool. The selection is a free selection, always selects as a rectangle. See screenshot below…
How to Customize Command Prompt
The whole customization lies in the command prompt’s system menu. Click on the dark icon at the far left corner, i.e. the system icon, of command prompt, select “Properties”. You should see a properties dialog popup.
To customize selection, copy, paste behavior check the “Quick edit” checkbox…
To customize Font select appropriate fonts on the “Font” tab. This is how mine looks.
To customize color, select appropriate colors in the “Colors” tab. This is how mine looks…
Please note there is a screen background and a popup background. Also there is a “Screen Text” and “Popup Text”. Screens stands for command prompt background, while popup stands for popup command dialogs, for e.g. press F7, the command history ‘popup’ window pops up…
Now comes my favorite, increasing the screen buffer size, or increasing the text buffer size of command prompt. This setting controls how much text the command prompt can hold. Please select the layout tab in the command prompt..
I’ve set the “Screen buffer Size” field values to high values so that it can hold as much text as possible. You can set your own values based on your preferences.
Hope this helps you in some way.