Earlier in the Week, a reader asked how I customized the colors in my Microsoft Command Prompt / Shell (also knows as CMD.exe) or Window <funny, i’ve been doing this for 15 years and I don’t really know what it’s called lol>. The process is super easy and hasn’t changed as far back as I can remember so this How-To Tutorial will work on Windows Vista, XP and Server 2003 / Server 2008. So, first let’s cover the How-To change the colors and then I’ll review a few other cool tricks (buffer size, window size and quickedit mode, aka copy/paste).
How-To Customize Microsoft Command Prompt Colors
1) Launch the Windows Command Prompt by Clicking the Windows Start Button and Typing Cmd then Pressing Enter.
2) With the command Window Open, Click the CMD Icon on the top Left of the Window and Click Properties
3) Under the Color Tab, Click Screen Text Bullet then Click a Color (I like a Black Background and Yellow or Green Text)
Although the top of this How-To answers the question about color, next let me show you the next 2 things I always change when logging into a new Windows Machine for the first time – CMD Window Size, Buffer and Copy/Paste Edit Options.
How-To Customize Microsoft Command Prompt Size and Copy/Paste Options
4) Click Layout Tab, Under Screen Buffer Size, Change the Height from 300 to 5000. Under Window Size, Change Width from 80 to 120 and Height from 25 to 60
- Screen Buffer Size – A larger buffer size allows you to scroll up and look through data which scrolls off the screen in your CMD Window. This is VERY useful ALL the time when working in the CMD Window / Shell.
- Windows Size – Not much to explain here. These numbers work for me (19 inch Monitor running 1600 x 1200). Play with the size until you find what works for you.
5) Next, Click Options Tab and Check QuickEdit Mode Box under the Edit Options Heading.
This will save you a LOT of time if you need to copy and paste text from both inside and out of the CMD Window. For example, to COPY Text to your Clipboard from INSIDE the CMD Window, using your mouse Hold down your Left Mouse button and Drag / Highlight some text. When all the text you want to copy is highlighted, release the mouse button and Right-Click your Mouse to copy the text to your Clipboard. PASTE the text inside your CMD Window now by simply Right Clicking (CTRL V does not work inside the CMD Window). You can also Paste the text inside a text editor like Word or Notepad using Right-Click Paste or CTRL-V.
<Insert Applause Sound Here>. I know… I know… It’s Magic 🙂
Again, for Old School Geeks, this is an old Trick. BUT, I’m amazed how many time I’m asked “How did you do that from Co-Workers looking over my shoulder”. So there ya go! WOW and AWE your Co-Workers / Wife and Children! Your now a Certified Command Line <groovy> Geek!