PROMPT environment variable

S

Sal

Where is it set? I'm assuming it's somewhere in the registry because I
don't see it in My Computer/Properties/Environment Variables. If I
want to change it should I add it there or change the registry? I
don't want to use autoexec.bat or use a .bat file on startup.
 
P

Pegasus \(MVP\)

Sal said:
Where is it set? I'm assuming it's somewhere in the registry because I
don't see it in My Computer/Properties/Environment Variables. If I
want to change it should I add it there or change the registry? I
don't want to use autoexec.bat or use a .bat file on startup.

It resides in the registry. To modify it via a user-friendly GUI, look in
the Control Panel / System / Advanced / Environment Variables.
 
B

Big_Al

Sal said:
Where is it set? I'm assuming it's somewhere in the registry because I
don't see it in My Computer/Properties/Environment Variables. If I
want to change it should I add it there or change the registry? I
don't want to use autoexec.bat or use a .bat file on startup.

Take a gamble, its free, put it in the Environment window and see if
that window overrides everything.
I personally think the environment window is the last set. So it would
survive. But you got nothing to lose. You can just edit it out later.
 
P

Pegasus \(MVP\)

Big_Al said:
Take a gamble, its free, put it in the Environment window and see if that
window overrides everything.
I personally think the environment window is the last set. So it would
survive. But you got nothing to lose. You can just edit it out later.

Presumably you recommend that the OP should use the "Set" command in a
Console session to modify his prompt. While this setting will work for that
particular console session, it won't affect the master environment and will
therefore be invisible to all other processes, current or future.
 
B

Big_Al

Pegasus said:
Presumably you recommend that the OP should use the "Set" command in a
Console session to modify his prompt. While this setting will work for that
particular console session, it won't affect the master environment and will
therefore be invisible to all other processes, current or future.
Actually no, the OP pointed to setup under 'my computer' properties. I
was just suggesting he gamble and change it till someone gave more
definitive ideas. Control Panel -> system or my computer properties,
same place.
However in reading his post again, and yours, I noticed that he
commented it's not there, and sure nuff, its not.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top