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...


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


title My New Color Window
  • 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

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

  • you can click that!?! – sealz Jul 14 '11 at 17:49
  • 1
    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
  • 1
    Or just right-click the title bar, that's exactly the same :) – gronostaj Mar 5 '13 at 13:59

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!

  • interesting to use it with my solution – kokbira Jul 14 '11 at 19:58

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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