Windows command prompt: how to get the count of all files in current directory?
- by pcampbell
What command would you use in cmd.exe to find the number of files in the current directory?
Is there a powershell option here?
Update: I was hoping to avoid dir, as I know there are 10,000+ files in the current directory. Wanted to avoid the enumeration output to the cmd window. Thank you!