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