• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 165
  • Last Modified:

Total number of files on a drive

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


1 Solution

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
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
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.
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.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now