Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
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.