TechTalkz.com Logo Ask the Expert

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech Support Archives > Microsoft > Windows XP

Notices

Number of files on computer

Windows XP


Reply
 
Thread Tools Display Modes
Old 16-08-2007, 10:57 AM   #1
Beemer
Guest
 
Posts: n/a
Number of files on computer

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

Beemer


  Reply With Quote
Old 16-08-2007, 10:57 AM   #2
Zilbandy
Guest
 
Posts: n/a
Re: Number of files on computer

On Sat, 19 May 2007 06:32:49 GMT, "Beemer" <Beemer@nowhere.com> wrote:

>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
  Reply With Quote
Old 16-08-2007, 10:57 AM   #3
Beemer
Guest
 
Posts: n/a
Re: Number of files on computer


"Zilbandy" <zil@zilbandyREMOVETHIS.com> wrote in message
news:3gjt43tqsc470s0pjbluvnj7ql21m224kj@4ax.com...
> On Sat, 19 May 2007 06:32:49 GMT, "Beemer" <Beemer@nowhere.com> wrote:
>
>>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


Excellent!
thanks, Beemer


  Reply With Quote
Old 16-08-2007, 10:58 AM   #4
xoutlawz
Guest
 
Posts: n/a
Re: Number of files on computer

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

  Reply With Quote
Old 16-08-2007, 10:58 AM   #5
Zilbandy
Guest
 
Posts: n/a
Re: Number of files on computer

On Sat, 19 May 2007 14:57:07 -0000, no@spam.invalid (xoutlawz) wrote:

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

--
Zilbandy
  Reply With Quote
Old 16-08-2007, 10:58 AM   #6
Ken Blake, MVP
Guest
 
Posts: n/a
Re: Number of files on computer

Beemer wrote:

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


  Reply With Quote
Old 16-08-2007, 10:59 AM   #7
dobey
Guest
 
Posts: n/a
Re: Number of files on computer


"Beemer" <Beemer@nowhere.com> wrote in message
news:EuA3i.21935$Ro3.17078@text.news.blueyonder.co .uk...
>
> "Zilbandy" <zil@zilbandyREMOVETHIS.com> wrote in message
> news:3gjt43tqsc470s0pjbluvnj7ql21m224kj@4ax.com...
>> On Sat, 19 May 2007 06:32:49 GMT, "Beemer" <Beemer@nowhere.com> wrote:
>>
>>>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

>
> Excellent!
> thanks, Beemer
>


Or you could just select all of the files in the root of a drive, then
Alt+enter


  Reply With Quote
Old 16-08-2007, 11:02 AM   #8
Zilbandy
Guest
 
Posts: n/a
Re: Number of files on computer

On Sat, 19 May 2007 19:13:41 +0800, "dobey" <a@v.nox> wrote:

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

--
Zilbandy
  Reply With Quote
Old 16-08-2007, 11:02 AM   #9
Zilbandy
Guest
 
Posts: n/a
Re: Number of files on computer

On Sat, 19 May 2007 19:13:41 +0800, "dobey" <a@v.nox> wrote:

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

--
Zilbandy
  Reply With Quote
Old 16-08-2007, 11:43 AM   #10
Beemer
Guest
 
Posts: n/a
Re: Number of files on computer


"xoutlawz" <no@spam.invalid> wrote in message
news:134u423bba2vpf1@news.supernews.com...
> 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


  Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to setup Username/Password for a drive in a Windows XP computer to backup files from a Vista computer? Athena Windows Vista All 1 31-08-2007 07:30 AM
Word and Excel altering the number 16 to number 3 ? Weslake Microsoft Office 2 28-08-2007 02:45 PM
maximum number of audio files save simultaneous Gabi Windows Server 2003 0 28-08-2007 10:10 AM
maximum number of audio files save simultaneous Gabi Windows Server 2003 0 28-08-2007 10:10 AM
Moving large number of files within same drive Lucvdv Windows Vista All 4 28-08-2007 03:02 AM


< Home - Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT +5.5. The time now is 09:15 AM.


vBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2010, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional