create a macro on cmd code example
Example 1: how to make doskey permanent, stackexchange
HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\
Example 2: doskey permanent
HKEY_CURRENT_USER\Software\Microsoft\Command Processor
HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\
HKEY_CURRENT_USER\Software\Microsoft\Command Processor