1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Emulating Unix Directory Listing on Windows

Discussion in 'Windows' started by pradeep, Feb 21, 2007.

  1. pradeep

    pradeep Team Leader

    Joined:
    Apr 4, 2005
    Messages:
    1,646
    Likes Received:
    86
    Trophy Points:
    0
    Occupation:
    Programmer
    Location:
    Kolkata, India
    Home Page:
    Place the following in a file titled ls.bat:

    Code:
    @echo off
    dir %* /n/p
    or under Windows 98 since %* and /n are not supported:

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

Share This Page