• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

changing the default settings for your command prompt

DeadSeaSquirrels

Senior member
I just figured out the "prompt" command on cmd.exe for windows 2000. I'd like to adjust slightly the default prompt for my cmd.exe prompt...how do I change the default prompt? I know I can do it manually for each window I set by doing a prompt $(some command) but I'd like to change all my future command prompts? Thanks in advance.
 
You can set it with the "environmental variables" in Control Panel|system|advanced. Just add the "prompt" commands as a new variable.

Good Luck

Scott

 
Wait scottMac, I'm not sure I understand. So I set some environment variable prompt to the prompt commands including the word prompt...for example

prompt$D, but how do I make it work. Do I still have to call that command every single time I open up a cmd.exe window to set the prompt? Or is there somewhere that holds the automatic default settings? I was hoping originally that the environment variables would have a variable that held the default settings, and I was going to just alter them, but I didn't find any. Thanks for the info.
 
IF you set the default environmental variable, then it should come everytime "by default."

If you set " Prompt = prompt Mywhoopassmachine $p$g" then you should get
"Mywhoopassmachine C:\ >" as a prompt when you bring up the command line window.

If you wanted to set it on a DOS machine, you'd put the prompt command in the autoexec.bat file. You may be able to do the same thing in the autoexec.win file (or whatever Winderz calls these days when the window executes).

Good Luck

Scott


 
Back
Top