1

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?

picardo
  • 147
  • 3
  • 11

1 Answers1

4

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.

fretje
  • 1,644
  • 1
  • 14
  • 15