I'm using Windows7, and I want to know the number of files (or objects) for comparison to objects in Amazon S3 buckets. I'm not interested in size, as the size can differ between file types.
I want to do this as a list from the command prompt (starting with dir) so that I can output this from several different computers to a spreadsheet so I can verify vs s3. This output out be dir>.txt where the info from dir would not only be date | time | type (directory or file) | filename | plus number of objects.
I have hundreds of folders on dozens of computers to access, so I'm looking for something 1) simple and 2) that doesn't require typing in the name of each folder individually 3) that will search recursively inside each folder and subfolder 4) that generates a list output. The dir command alone is 90% of the way there, it just lacks the number of files inside folders, which hopefully is an easy output to generate.
Please no linux or Powershell recommendations as they can't be applied.
do dir /b | wc -l