Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there a way to store settings for the command prompt, so it doesn't revert to default when you close it.

I saw this page which allowed me to change the prompt default but what about things like text color? Is there something similar that needs to be done?

For example I love green and dont want to do

color a

every time...

EDIT:

Got color, but what about Title of the window? Is there a way to make that default?

Example:

title My New Color Window
share|improve this question
1  
for the title there's no default configuration. You could configure a cmd.exe shortcut that executes the title command. But that's not generic enough. –  A Dwarf Jul 14 '11 at 18:12
    
you can do bpth with one command only, and put that in a shortcut. see my solution below. –  kokbira Jul 14 '11 at 18:37

3 Answers 3

up vote 2 down vote accepted

Click the Control Icon in the command prompt window (icon in the top left of the window) and choose the Defaults options.

Tweak to your content. :)

enter image description here

share|improve this answer
    
you can click that!?! –  sealz Jul 14 '11 at 17:49
    
Yup. You can. Don't worry if your changes don't show immediately. Close the window and start another 'cmd' command and those settings will show. –  A Dwarf Jul 14 '11 at 17:49
    
Or just right-click the title bar, that's exactly the same :) –  gronostaj Mar 5 '13 at 13:59

I have a lot of ways to change colors, but it is the easier one to change colors and title. Only "start > run" the command bellow or create a shortcut or a BAT with that command:

cmd /k color 89 & title=Your custom title
share|improve this answer

You can configure the Windows Command Prompt to run any commands you want, including color, title and prompt using the registry key at

HKCU\Software\Microsoft\Command Processor\Autorun

If the Autorun key does not exist, create a REG_SZ key Autorun.

Any commands you put in here will be executed for all new cmd.exe windows. Customize away!

share|improve this answer
    
interesting to use it with my solution –  kokbira Jul 14 '11 at 19:58

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.