Total number of files on a drive


How can I easily find out the total number of files on a drive?

Thanks!

gt40mk2Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

 
BigC666Commented:
howdy,

it may sound strange but you can use the virus scanner stinger and when it finishes just look at the files cleaned.

you can find it here http://majorgeeks.com/download4063.html

hope that this helps
0
 
TezdreadCommented:
You could type Dir /s on the root of the drive

"X:\DIR /S"

this will list all your files and directories on the chosen drive and exactly how many files and directories

if you want to output the info for later use "X:\DIR /S > X:\TEMP\MY_FILES.TXT
0

Experts Exchange Solution brought to you by ConnectWise

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
 
gt40mk2Author Commented:

Actually I wanted to know it for when I'm doing virus or pest scanning.

Since they only show how many files have been scanned "so far", I can have some idea how much time remains.

"dir /s" does the trick.

Thanks to Tezdread.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.