Using DOSKEY, we can create macros to simplify typing many commands in command prompt. Take a look at the following example.
DOSKEY
DOSKEY macro=echo Hello World
Now if you type macro in the command prompt, it would return Hello World.
macro
Hello World