How to list files in windows using command prompt (cmd). I’ve tried using ‘ ls ‘ as in Linux but it shows an error?

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

Leave a Comment