Clear, practical technology insights About · Contact

How to Create a Custom Windows Command Prompt

The windows command prompt (located at C:WindowsSystem32cmd.exe) is a useful tool to perform various administrative tasks. The prompt is a string of characters (special and non special) that are displayed whenever the command prompt is...

Author: Marvin Fry1 minutes read
Table of Contents
Method 1 of 2:

Changing the prompt dynamically

  1. images 1 of How to Create a Custom Windows Command Prompt
    Press windows + r.
  2. images 1 of How to Create a Custom Windows Command Prompt
    Type 'cmd' in the field and hit enter
  3. images 1 of How to Create a Custom Windows Command Prompt
    Type 'prompt', followed by the desired prompt string.
  4. The new prompt is displayed at the new line.

Note that this only changes the prompt of the current command prompt session, which is reset the next time you run the command prompt.

images 1 of How to Create a Custom Windows Command Prompt
Method 2 of 2:

Changing the prompt permanently

  1. images 1 of How to Create a Custom Windows Command Prompt
    Right-click My Computer > Properties.
  2. images 1 of How to Create a Custom Windows Command Prompt
    Click on Advanced system settings.
  3. images 1 of How to Create a Custom Windows Command Prompt
    Click on Environment Variables
  4. images 1 of How to Create a Custom Windows Command Prompt
    Click New (under user variables).
  5. images 1 of How to Create a Custom Windows Command Prompt
    Type 'prompt' in the variable name field.
  6. images 1 of How to Create a Custom Windows Command Prompt
    Type the desired prompt string in the variable value field.
  7. images 1 of How to Create a Custom Windows Command Prompt
    Click OK on each opened dialog.

Was this article helpful?

Your feedback helps us improve.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.