How count the number of files

April 13, 2009 at 08:59:03
Specs: Windows XP
whats the dos command to count the number of files in the directory. Please provide me, if you guys know the batch script.if i given dir for *.txt files...it should provide the number files in the directory....

Thanks


See More: How count the number of files

Report •


#1
April 13, 2009 at 10:15:24
Depends on the version, the language etc, but this is a good start:

dir *.txt | find "File(s)"


=====================================
If at first you don't succeed, you're about average.

M2


Report •
Related Solutions


Ask Question