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