How to create ls in windows command prompt?

前端 未结 19 2315
一向
一向 2020-12-07 08:34

I want to use ls in windows command prompt and make it run the dir command.

How can I do that?

19条回答
  •  醉话见心
    2020-12-07 09:17

    Easiest way I have found is:

    1. Install Git for Windows
    2. Add the bin directory of Git to your Path variable. Mine was located in C:\Program Files\Git\usr\bin.
    3. Start a command prompt and enjoy ls in all its glory.

提交回复
热议问题