Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

DOSKEY macros (after all these years)

May
13,035
174
Perhaps this is well known but I hadn't thought about it in many years. They still exist! IIRC, I had just discovered doskey macros when I discovered 4DOS.

1564692834276.png
 
I have a file named autoexec.cmd in my profile directory (C:\Users\mintz) that runs whenever CMD is started. I use it to colorize my PROMPT.
It contains 1 line currently: @prompt=$e[37;44;1m[$P]$e[33;40;1m$s

I assume the HKLM entry you use is not user specific.
 
I have a file named autoexec.cmd in my profile directory (C:\Users\mintz) that runs whenever CMD is started. I use it to colorize my PROMPT.
It contains 1 line currently: @prompt=$e[37;44;1m[$P]$e[33;40;1m$s

I assume the HKLM entry you use is not user specific.
I put it in the user environment. Both TCC and CMD use it.
Code:
v:\> set /u prompt
$e[32;1m$p$g$s$e[0m

HKCU (the rest the same) also works. That would be user-specific.
 
Back
Top
[FOX] Ultimate Translator
Translate