Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Command Prompt - Personalize


Command Prompt - Personalize

How to Personalize the Command Prompt Window
Published by Anak
29 Dec 2009
Published by

How to Personalize the Command Prompt Window


information   Information
Regular users of Window's Command Line Interpreter are familiar with modifications to suit their individual tastes, but casual users may become frustrated with the rigidity of the command line interpreter program and shy away from this useful tool.

This tutorial will show you how to change the options, fonts, layout, and color properties of the command prompt to customize them how you like.


Example: This is how my Command Window looks now when open. You will see a screenshot at the end of each part showing the settings used to place it here.

-example.png


LETS GET STARTED:

1. To open the Run dialog: Press the Windows key+R.

2. Type cmd, and press OK.
Name:  Run-Cmd.png
Views: 5380
Size:  10.2 KB
3. The command window will open.C:\Windows\system32\cmd.exe

4. Right click on the title bar to open the context menu, and click on Defaults.

Note   Note
The reason you are using Defaults; It sets the default choices you make for the regular and Elevated Command Prompt windows. Using Properties only saves your personalization for that session.
-pick-defaults.png
5. Now set the options, fonts, layout, and/or colors properties below to what you like.


Part One
To Change Command Prompt Options
1. Cursor Size; Cursor size can be adjusted to Small, Medium or Large by clicking on the radio button to the left of the size. This can help if you are having problems seeing the blinking cursor.

2. Command History; Buffer Size can be adjusted from 1 to 999.
Whatever amount you set, saves that amount of previous commands. 50 is the default.
2a. Example when you tap F7 this is the keyboard key to access the buffer. Select with the arrow keys then press Enter to run that command.
-f7-key.png
Number of Buffers: You may have a need to have more than one Prompt window open at a time. This controls how many can be opened. It also has a range of 1 to 999, be aware though, the higher the number, the more RAM you will use.

Discard Old duplicates: Allows Windows to discard old duplicate commands.

3. Edit Options: QuickEdit Mode allows the use of your mouse to highlight areas of the prompt window, press Enter or the Return key and your highlight is copied to Notepad; Right click in Notepad and click on paste.

Insert Mode: Allows you to place the cursor anywhere within a command and add to a command after it instead of overwriting it.

AutoComplete: Type the first letter of a file then press the TAB key to see all the files that begin with that letter.

The wildcards, double asterisk *x* , and question mark x? are also allowed. Use the * * to represent any number of characters and the ? for a single character.
-options-tab.png



Part Two
To Change Command Prompt Fonts
1. You have three choices of fonts. You can change their size and make them bold.
-font-tab.png



Part Three
To Change Command Prompt Layout
Note   Note
All the values on this Tab will accept up to a four digit value. i.e. 9999

Tip   Tip
A helpful tip suggested by Layback Bear; Thank you Layback Bear!:

I have found a little trick that might be helpful:

*If you set*
The screen Width Buffer Size and the Windows Width size the same it will eliminate the need for the scroll bar at the bottom. It come in very handy so you don't have to scroll back and forth to see every thing.

1. Screen Buffer Size; The higher the width value the less your command will go to a new line.
1a. The higher the Height value will increase how many lines you can scroll back to.

2. Window Size; The higher the Width value the wider the window.
2a. The higher the Height value the taller the window.

3. Window Position; The lower the Left value the more left the window is positioned.
3a. The lower the Top value the more the window rises on your desktop.

4. Let system position window; Since you're doing this to personalize the command prompt, leave this box un-checked.
-layout-tab.png



Part Four
To Change Command Prompt Colors
1. Select the proper radio button to change the preset colors for text and background, click on the color of your choice in the color bar to select it.

2. The Popup Text and Background are the colors you'll see when you tap F7 to see the buffer in command history. I set this opposite to the normal screen to help me show the difference between the two.

3. If you know the color values of the colors you like, then you can input them manually.
-colors-tab.png
That's all,
Steve

30 Dec 2009   #1
Dom

Windows Seven Ultimate
 
 

This is good! Makes the command prompt look a lot better than black and white


My System SpecsSystem Spec
31 Dec 2009   #2
derekimo

Microsoft Community Contributor Award Recipient

 
 

Nice tutorial, I had no idea you could customize that as well. Thanks.
My System SpecsSystem Spec
31 Dec 2009   #3
whs
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 

Here is some more of the same - plus a few additions: Make the Command Prompt GUI look nicer
My System SpecsSystem Spec
.

31 Dec 2009   #4
PooMan UK

Windows 7 Ultimate 64bit
 
 

I quite like this ver. of cmd pretty cool

ColorConsole Freeware download and review - customizable command shell from SnapFiles



And it's free ... happy days


Attached Thumbnails
-img3.jpg  
Attached Images
  
My System SpecsSystem Spec
31 Dec 2009   #5
whs
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 

That's pretty cool too.
My System SpecsSystem Spec
06 Jan 2010   #6
zqding

win7
 
 

excellent tools. Thanks for the proposal
My System SpecsSystem Spec
29 Nov 2012   #7
ICIT2LOL

Desk1 7 Home Prem / Desk2 10 Pro / Main lap Asus ROG 10 Pro 2 laptop Toshiba 7 Pro Asus P2520 7 & 10
 
 

Wow Shawn now I have a 24" command screen I can read it - awesome
My System SpecsSystem Spec
07 Nov 2014   #8
Brink

64-bit Windows 10 Pro
 
 

Tutorial has been updated by Steve (aka: Anak).
My System SpecsSystem Spec
16 May 2016   #9
HairyPaulSack

Windows 7 Ultimate x64 SP1
 
 

Hitting F7 (even with two CMD windows open) doesn't seem to pull up a buffer of previous commands. I do use clink for an improved unix style of auto completion (for ex: typing task then hitting tab and having taskeng.exe taskhost.exe taskhostex.exe taskkill.exe ........) but looking at the documentation I don't see anything about removing or changing the buffer access. I did a google search but it's hard to hone in on the exact problem despite how accurately I can describe it in a search query.


win8.1 x64
clink x64
My System SpecsSystem Spec
Comment

 Command Prompt - Personalize




Tutorial Tools




Similar help and support threads
Windows 7 Tutorial Category
Command Prompt command <ipconfig> not working
when I open up my command prompt and type 'ipconfig' without the ' and press enter it returns the line: 'ipconfig' is nto recognized as an internal or external command, operable program, or batch file I am trying to find out the information I need in order to set up a static IP Address for port...
Network & Sharing
How to fix MBR through command prompt?
Question: What commands could I run in the command prompt during the system recovery? I try & run say "fixmbr" but it doesn't work. Say if I want to write a new master boot record how would I do that?
General Discussion
Run administrative command prompt from command prompt
Ok So I got myself into a unique bind here. I was trying to install some custom system files (for a theme) and I did it wrong and now I cant open explorer.exe . I dont want to goto a backup because this is a easy fix. (in my view). So I need to know how to run command prompt with administrative...
General Discussion
Command Prompt
Ok so every time I try to open the command prompt using an external source (batch file, small c++ program i made to say Hi to me through the command prompt) it instantly closes. Does anyone have any idea why this is happening and if so how can I fix it? Thanks, Wave
General Discussion
command prompt bug ?
Hi, I just tryed to use cmd as usual but it seems that I can't explore an other HDD than C: It bugs me I don't understand why i'm the only user on my computer and I am admin on it I at home so it should work but when I type "cd d:" I get that : ...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 21:31.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App