Code: Select all
PROMPT $E[48^;5^;104^;38^;5^;15m$D$G$E[0m$S
Windows 10
Thanks!
Moderator: DosItHelp
Code: Select all
PROMPT $E[48^;5^;104^;38^;5^;15m$D$G$E[0m$S
Assuming you have either A) Cmd.exe pinned to the task bar or B) you use a shortcut to open cmd, you can edit the properties of the shortcut and change the target to:findstr wrote: ↑11 Jun 2021 09:19Hello!How can I make cmd.exe to run this code at startup to set the color prompt automatically every time I launch cmd.exe?Code: Select all
PROMPT $E[48^;5^;104^;38^;5^;15m$D$G$E[0m$S
Windows 10
Thanks!
Code: Select all
%windir%\system32\cmd.exe -cmd /k "PROMPT $E[48^;5^;104^;38^;5^;15m$D$G$E[0m$S"