'ls' in CMD on Windows is not recognized

Abdullah picture Abdullah · Mar 10, 2017 · Viewed 484k times · Source

When I tried to use list ls on a Windows command prompt, the system doesn't recognize it. I already added C:\Windows\System32 in the path.

Answer

Manan Mehta picture Manan Mehta · Mar 10, 2017

Use the command dir to list all the directories and files in a directory; ls is a unix command.