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?

link|improve this question

50% accept rate
feedback

1 Answer

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.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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