Unfortunately, Windows default command interpreter (cmd.exe) does not include support for command-line aliases, as in bash, zsh and other /bin/*sh type shells that can be found in the world of Linux. This can be partially corrected.
To implement the use of aliases we can use a simple program called “Doskey”:
Create a file that will store our aliases (in Doskey terminology – “macroses”), for example, C:\Users\a\etc\a.doskey.
Type in the command to automatically setup the aliases/macroses at the start of command interpreter to the registry.
To do this, let’s change the value of the AutoRun key of the following thread in the registry: