How do I change the command-line prompt in Windows?

Viewed 88641

How do I change the command-line prompt into a console?

I've been looking in the console functions API, but I could not find anything for it.

7 Answers

If you want to save changes, used

 setx prompt < format >

If you want to use it only one time

prompt < format >
Related