Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use Prompt command to temporarily change the Windows command prompt's inline prefix. So instead of current directory, I choose it to display something like current time and the $ sign.

But when I close the command window, my preference goes too.

How can I make my prompt preference permanent? I believe it requires some registry hacking?

share|improve this question
up vote 4 down vote accepted

You can add a "PROMPT" environment variable through the "Environment variables" dialog (My computer > Properties > Advanced > Environment Variables).

You can specify it either as a User Specific variable, or as a System Variable. Both options should make it permanent.

share|improve this answer

Your Answer


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.