ls does not work windows 10 code example Example: ls equivalent in CMD Use the command dir to list all the directories and files in a directory