rem loading doskey provides a macro definition tool and an enhanced command rem line editor. the line below loads the initial doskey with insert on and rem with a big buffer size. doskey /insert /bufsize=8192 /keysize:128 rem =========================================================================== doskey aliases=doskey /macros doskey exp=explorer $* doskey mcd=if not exist $*\nul md $* $T cd $* doskey .=call $* doskey #=rem $* rem =========================================================================== rem =========================================================================== rem Call the generated aliases file, if it exists. if exist %GENERADIR%\p_alias.bat call doskey /file:%GENERADIR%\p_alias.bat rem ===========================================================================