How can use dir command to check how many .txt files there is in a folder (e.g C:\Temp)?
feedback
|
This gives you a summary of the number of files matching that particular wildcard.
If you only want to see the count and don't want to see any of the filenames. | |||
|
feedback
|
|
If you need the count of files in a Batch variable for further processing, you may get it this way:
After the for the | |||
|
feedback
|