Emulating UNIX Directory Listing

Place the following in a file titled ls.bat:

@echo off
dir %* /n/p

or under Windows 98 since %* and /n are not supported:

@echo off
dir %1 %2 %3 %4 %5 %6 %7 %8 %9 /w/p