Number of files on computer

  • Thread starter Thread starter Beemer
  • Start date Start date
B

Beemer

Apart from running a virus scan is there any way to find out the total
number of files on a computer?

Beemer
 
Apart from running a virus scan is there any way to find out the total
number of files on a computer?

A virus scan is not necessarily the best way to find out how many
files are on your computer. The virus scan may be scanning .cab and
..zip files, both of which types may have several to many compressed
files in them and the scanner may include those files in its count
number. Here is one way to do what you want:

Click on Start, then Run, and type CMD and click on OK or hit the
Enter key...

At the Command Prompt in the window that opens, type the following:
CHKDSK /C:
and then hit the Enter key...

After the Check Disk program runs (it may take a couple minutes), it
will show you a summary of the report. The number of files on C drive
will be in that summary...

If your system is partioned with more than one drive, repeat the above
for each active drive letter to get a summary of that drive...

Hope this helped.
 
Zilbandy said:
A virus scan is not necessarily the best way to find out how many
files are on your computer. The virus scan may be scanning .cab and
.zip files, both of which types may have several to many compressed
files in them and the scanner may include those files in its count
number. Here is one way to do what you want:

Click on Start, then Run, and type CMD and click on OK or hit the
Enter key...

At the Command Prompt in the window that opens, type the following:
CHKDSK /C:
and then hit the Enter key...

After the Check Disk program runs (it may take a couple minutes), it
will show you a summary of the report. The number of files on C drive
will be in that summary...

If your system is partioned with more than one drive, repeat the above
for each active drive letter to get a summary of that drive...

Hope this helped.

Excellent!
thanks, Beemer
 
Quickest way I can think of easily is to just goto your start menu
under accessories and open a command prompt.
then just type
cd\
dir/s

here's what I got on one of my hard drives partitions.

Total Files Listed:
106216 File(s) 48,440,221,569 bytes
17349 Dir(s) 79,023,620,096 bytes free
 
Quickest way I can think of easily is to just goto your start menu
under accessories and open a command prompt.
then just type
cd\
dir/s

I was going to suggest that, but in testing it, it sure took a long
time to get through all those screens of scrolling data. A quicker way
is to replace the dir/s command with
dir /s >> null.txt

This will complete in a minute or two, but to see the results, you'll
have to use a text editor to open the null.txt file located in the
root directory and look at the end of the file to find the summary.
Doing all that is still faster than waiting for the data to scroll to
completion. Be sure to delete the null.txt file after viewing it, just
to save a few megabytes of disk space. :)
 
Beemer said:
Apart from running a virus scan is there any way to find out the total
number of files on a computer?


Go to a command prompt and type dir /S c:\

Be prepared for it to take a while if there are a lot of files.
 
Or you could just select all of the files in the root of a drive, then
Alt+enter

Wow! That's simple. LOL What's interesting is that I've checked the
file count on my computer using 4 different techniques, and the
numbers vary quite a bit. I would expect small variations as Windows
creates temp files and folders as different programs are opened. Also,
some reports seem to include folders in the file count which seems
valid to me. I don't know how the contents of zip, rar, or cab files
might play into this, either. Just for your (and my) amusement, here's
what I've come up with so far on my laptop:

Using the highlight and <alt+enter> technique, I get 81906 files in
5907 folders. Files and folders combined... 87813.

Using dir/s from the root of c drive, I get 81009 files and 16690
directories.

Using chkdsk c: I get 82258 files in 6006 indexes.

And, in using a program that displays my c drive as a pie chart, it
reports 87763 files.

Just for fun, I did an Adaware Personal SE scan and it reported
scanned objects at 103572, but that includes registry entries, so I
kind of expect that number to be higher.

I'm not gonna count all the files on my system manually, so take your
pick of the above. :)
 
xoutlawz said:
Quickest way I can think of easily is to just goto your start menu
under accessories and open a command prompt.
then just type
cd\
dir/s

here's what I got on one of my hard drives partitions.

Total Files Listed:
106216 File(s) 48,440,221,569 bytes
17349 Dir(s) 79,023,620,096 bytes free
C: 191423 files

Thanks

Beemer
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top