windows 10 add aliases code example Example 1: windows alias doskey [macroname]=[command] Example 2: alias windows 10 cmd doskey macroName=macroDefinition