To emulate the UNIX directory listing (ls) command under DOS use:
DOSKEY ls=dir $* /w/p
To load DOSKEY from AUTOEXEC.BAT use:
AUTOEXEC.BAT
DOSKEY /reinstall ls=dir $* /w/p