some things should stay as they are

index 🤨writings 🤠fun stuff 👁me

making cmd more usable on windows


doskey macros

DOSKEY macros are only particular to that one session you set them as you know. Setting macros everytime a new session starts is kinda boring so why don't we set it to AutoRun? What I'm going to show is how to set an AutoRun for cmd which is very useful for loading DOSKEY macros or anything you want. I don't know if it's a convenient way of doing this but it's really easy to do (and undo) and configure later.

Add a new string value to

(For current user): HKCU\Software\Microsoft\Command Processor\AutoRun
(For all users): HKLM\Software\Microsoft\Command Processor\AutoRun

with the path of the file you want to run every time cmd starts.

I wrote a small .cmd script with DOSKEY commands to create macros and shortcuts for example.


feb-24-24