How to list files in windows using command prompt (cmd). I've tried using ' ls ' as in Linux but it shows an error? [closed]
Solution 1:
Use the command dir
to list all the directories and files in a directory; ls
is a unix command.
Use the command dir
to list all the directories and files in a directory; ls
is a unix command.