Setting the Title of the Command Prompt Window

I was wondering how you change the title of the Command Prompt window.  A little searching found that Scott Hanselman had answered this question here.  All you have to do is type:

and press Enter to change the title of your Command Prompt window.  It should look like the following:

Command Prompt

Note that if you are running Console2 to host your command prompt window, it works just fine.


Finally, if you want to do the same thing in PowerShell, just execute the following command:

Note that you have to have the quotes around the text to which the title should be set; they may be single or double quotes.

PowerShell Prompt


This post was migrated from