Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Count files in a directory
Name: amritag Date: March 3, 2005 at 19:03:09 Pacific OS: Windows 2000 CPU/Ram: 256MB RAM
Comment:
I need to count the number of files in a directory. I used the following DOS Prompts--
Go to respective folder--
Set Count=0 ....... Dir * If not ErrorLevel 1 Set /A Count=%Count%+1 ....... Echo %Count% Files found.
Summary: Hi , I am using the following command in my batch file to find no of batch files in a directory dir "a\b\c" | find /v /c "::" I am able to get the count,but i dont know whow to store it in a variable....
Summary: Hi, i am making a batch file and in that one task i need to follow that is to count file in a single folder and count files in 5 different folders. i have found out the command which gives me a count ...
Summary: Hello all, I've been trying to get a batch file that will go to a specified directory count the number of files (any file and a files with a specific extension, we're searching multiple dir's) and...