by @kodeazy

ls is not working in windows while trying to list the files and directories of my directory

Home » Windows » ls is not working in windows while trying to list the files and directories of my directory
  • I am trying to access the content of my folder in windows using ls command but I am getting below error.

    C:\Users>ls
    'ls' is not recognized as an internal or external command,
    operable program or batch file.
  • To get the list of files in windows Command prompt use dir instead of lsas below.

ls not recognized Image

  • Other way to get the files is open Windows PowerShell and execute the ls command as below.

ls not recognized Image