cmd prompt format

Shell
# EXAMPLE
setx PROMPT ^[[0;33m$P$G$G$S^[[0;32m 'NOTE: ^[ needs to be inserted as one character using ctrl+['


# SYNTAX
# setx PROMPT <your-defined-format>

# Formatting: see https://ss64.com/nt/prompt.html
# Color: see https://stackoverflow.com/questions/2048509/how-to-echo-with-different-colors-in-the-windows-command-line
Source

Also in Shell: