Place the following in a file titled ls.bat:
ls.bat
@echo off dir %* /n/p
or under Windows 98 since %* and /n are not supported:
%*
/n
@echo off dir %1 %2 %3 %4 %5 %6 %7 %8 %9 /w/p