How to list files in windows using command prompt (cmd). I've tried using ' ls ' as in Linux but it shows an error?
WindowsCmdLsWindows Problem Overview
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.
Windows Solutions
Solution 1 - Windows
Use the command dir
to list all the directories and files in a directory; ls
is a unix command.