Finding total number of Folders and Files on C: drive

Page 2 - Seeking answers? Join the Tom's Hardware community: where nearly two million members share solutions and discuss the latest tech.
G

Guest

Guest
Archived from groups: microsoft.public.win98.gen_discussion (More info?)

"Rick Chauvin" <justask@nospamz.com> wrote in message
news:eQhs3kInFHA.4056@TK2MSFTNGP10.phx.gbl...
> Hugh Candlin wrote:
> > "Rick Chauvin" <justask@nospamz.com> wrote in message
> > news:ut53AvEnFHA.3300@TK2MSFTNGP15.phx.gbl...
> >> glee wrote:
> >>
> >> Hey maybe they have a special chckdsk.exe for 9x or something ..if
> >> they do please let me know where I can have it too please :)
> >
> > CHKDSK.EXE in the Windows Command folder.
> >
> > Date Modified = Friday, April 23, 1999 10:22:00 PM
>
> Yes that's the exact date, time, info, and location, but a stock W98SE
> chkdsk does not give that information and so I'm interested in what you
> have different then.

Nothing. I repeat, it is bog standard.
>
> It doesn't matter if it's run from anywhere in any partition or any folder
> anywhere on W98SE and it always gives the same information, whether
> run from Windows or rebooted to a DOS prompt.
>
> Either you have done something unique - or just funin' a spoof <g>
> ..please do tell.

I would NEVER do that. I pasted the EXACT result from CHKDSK.

Please don't EVER imply that again.
 
G

Guest

Guest
Archived from groups: microsoft.public.win98.gen_discussion (More info?)

"glee" <glee29@spamindspring.com> wrote in message
news:uvXlgZInFHA.2860@TK2MSFTNGP15.phx.gbl...
> Certainly not doing what you report, here:
>
When I get the chance, I'll replace the current CHKDSK
using the version on the WIN98SE CD
to see if that makes a difference.

I will remind you, though, that I am not the only one
who reported that CHKDSK listed Number of files.

Nor would I expect to be. Whatever I have,
there must be tens of thousands, if not millions,
of people with the same DOS files on their PC.

I don't know what else to say.

[I had no idea I would open a can of worms].
 
G

Guest

Guest
Archived from groups: microsoft.public.win98.gen_discussion (More info?)

Just in case anyone has come late to this thread, has sampled
the later responses, and has concluded that getting the
information is really difficult, involving careful use of
CHKDSK under the right conditions, someone (me) should point
out that way, way back, someone else (whose name escapes me)
gave a simple solution: open My Computer, open C:, select
all, right click _anything_, click properties and watch the
information develop.
 
G

Guest

Guest
Archived from groups: microsoft.public.win98.gen_discussion (More info?)

That was Glee way back then, before Candlin started making us all go
batty JUST for more company in his "institution"...

news:ew$vBmrmFHA.3020@TK2MSFTNGP10.phx.gbl
Note he also said to be sure to...
"START, Settings, Folder Options, View tab"
Bolt "Show all files" & UNcheck "Hide file extensions..."


--
Thanks or Good Luck,
There may be humor in this post, and,
Naturally, you will not sue,
should things get worse after this,
PCR
pcrrcp@netzero.net
"Anthony Buckland" <buckland@direct.ca> wrote in message
news:eqANuUTnFHA.3960@TK2MSFTNGP12.phx.gbl...
| Just in case anyone has come late to this thread, has sampled
| the later responses, and has concluded that getting the
| information is really difficult, involving careful use of
| CHKDSK under the right conditions, someone (me) should point
| out that way, way back, someone else (whose name escapes me)
| gave a simple solution: open My Computer, open C:, select
| all, right click _anything_, click properties and watch the
| information develop.
|
 
G

Guest

Guest
Archived from groups: microsoft.public.win98.gen_discussion (More info?)

"Hugh Candlin" <No@MeansNo.Com> wrote in message
news:evq%23aWSnFHA.3288@TK2MSFTNGP09.phx.gbl...
>
> "glee" <glee29@spamindspring.com> wrote in message
> news:uvXlgZInFHA.2860@TK2MSFTNGP15.phx.gbl...
> > Certainly not doing what you report, here:
> >
> When I get the chance, I'll replace the current CHKDSK
> using the version on the WIN98SE CD
> to see if that makes a difference.
>
> I will remind you, though, that I am not the only one
> who reported that CHKDSK listed Number of files.
>
> Nor would I expect to be. Whatever I have,
> there must be tens of thousands, if not millions,
> of people with the same DOS files on their PC.
>
> I don't know what else to say.
>
> [I had no idea I would open a can of worms].

Well, a can of worms can be interesting, Hugh. ;-) Enquiring minds want to know,
and all that.... I am really curious what is causing the difference in our
read-outs, as we are apparently using the same version of the chkdsk file, and are
apparently running the same command in a DOS window. It certainly is strange. I am
going to ask around and see if anyone else I know is getting the output I am, or the
output you are. I will also play with some different versions of chkdsk and see
what happens. Something odd going on and I can't figure what or where. <scratches
head>
--
Glen Ventura, MS MVP Shell/User, A+
http://dts-l.org/goodpost.htm
 
G

Guest

Guest
Archived from groups: microsoft.public.win98.gen_discussion (More info?)

<raises hand> Yes, that was me, way back when. We are off on a tangent now, though
a curious one.
--
Glen Ventura, MS MVP Shell/User, A+
http://dts-l.org/goodpost.htm

"Anthony Buckland" <buckland@direct.ca> wrote in message
news:eqANuUTnFHA.3960@TK2MSFTNGP12.phx.gbl...
> Just in case anyone has come late to this thread, has sampled
> the later responses, and has concluded that getting the
> information is really difficult, involving careful use of
> CHKDSK under the right conditions, someone (me) should point
> out that way, way back, someone else (whose name escapes me)
> gave a simple solution: open My Computer, open C:, select
> all, right click _anything_, click properties and watch the
> information develop.
>
 
G

Guest

Guest
Archived from groups: microsoft.public.win98.gen_discussion (More info?)

Hugh Candlin wrote:
> "Rick Chauvin" <justask@nospamz.com> wrote in message
> news:eQhs3kInFHA.4056@TK2MSFTNGP10.phx.gbl...
>> Hugh Candlin wrote:
>> > "Rick Chauvin" <justask@nospamz.com> wrote in message
>> > news:ut53AvEnFHA.3300@TK2MSFTNGP15.phx.gbl...
>> >> glee wrote:
>> >>
>> >> Hey maybe they have a special chckdsk.exe for 9x or something ..if
>> >> they do please let me know where I can have it too please :)
>> >
>> > CHKDSK.EXE in the Windows Command folder.
>> >
>> > Date Modified = Friday, April 23, 1999 10:22:00 PM
>>
>> Yes that's the exact date, time, info, and location, but a stock W98SE
>> chkdsk does not give that information and so I'm interested in what you
>> have different then.
>
> Nothing. I repeat, it is bog standard.
>>
>> It doesn't matter if it's run from anywhere in any partition or any
>> folder anywhere on W98SE and it always gives the same information,
>> whether
>> run from Windows or rebooted to a DOS prompt.
>>
>> Either you have done something unique - or just funin' a spoof <g>
>> ..please do tell.
>
> I would NEVER do that. I pasted the EXACT result from CHKDSK.
>
> Please don't EVER imply that again.

No need for Cap letters Hugh because I certainly meant no harm, and was
just asking what you had done something unique to your system to do that,
or if by chance maybe you were kidding with the others of which I would of
had no idea. Anyway, your chkdsk information is interesting.
Perhaps you would upload your chkdsk.exe here http://rapidshare.de ..it's
free, and then post the link you get to download it back for us and that
way we can play with it to see what we get and check HEX for a difference;
otherwise there has to be some other file/s involved with getting that
information for chkdsk where then perhaps it's those that are giving you
the extra capability.

Rick
 
G

Guest

Guest
Archived from groups: microsoft.public.win98.gen_discussion (More info?)

"glee" <glee29@spamindspring.com> wrote in message
news:%23aWd0zUnFHA.3448@TK2MSFTNGP12.phx.gbl...
> Well, a can of worms can be interesting, Hugh. ;-) Enquiring minds want
to know,
> and all that.... I am really curious what is causing the difference in
our
> read-outs, as we are apparently using the same version of the chkdsk file,
and are
> apparently running the same command in a DOS window. It certainly is
strange. I am
> going to ask around and see if anyone else I know is getting the output I
am, or the
> output you are. I will also play with some different versions of chkdsk
and see
> what happens. Something odd going on and I can't figure what or where.
<scratches
> head>

Latest development.

I have been able to make the same CHKDSK module
produce different results on two different machines.

I went to another WIN98SE machine,
renamed CHKDSK.EXE to OLD_CHKDSK.EXE,
and sneaker-netted my copy of CHKDSK.EXE
onto the other WIN98SE machine and tried it there.

On the new machine, it does not produce the file count,
so whatever the reason is that is causing the anomaly,
it is not directly related to the CHKDSK.EXE program itself.

The most obvious difference between the 2 computers is
that the first one, which gives the file count, has a 40GB drive,
partitioned equally, 5 * 8GB.

The second machine, which does not give the file count.
has a single-partition 45 GB drive.

I don't know if that is a factor or not. I'll play with it some more.
 
G

Guest

Guest
Archived from groups: microsoft.public.win98.gen_discussion (More info?)

"Hugh Candlin" <No@MeansNo.Com> wrote in message
news:e0Mzj5cnFHA.708@TK2MSFTNGP09.phx.gbl...
>
> The most obvious difference between the 2 computers is
> that the first one, which gives the file count, has a 40GB drive,
> partitioned equally, 5 * 8GB.

Correction.

The first machine has a 6.8 GB drive,
partioned equally 4 * 1.7 GB.
 
G

Guest

Guest
Archived from groups: microsoft.public.win98.gen_discussion (More info?)

"glee" wrote:

> 1) Open Windows Explorer, select the C: drive in the left pane.
> Press CTRL+A, which will select all visible files and folders in the right pane.
> In the right pane, right-click any one of the selected files, and click Properties
> on the menu that appears.
> The Properties box will show you a total count of all files and folders on C:
>
> 2) There are hidden files, that will not show up unless you set your folder options
> to show all files:
> Click Start> Settings> Folder Options> View tab, set the Hidden Files setting to
> "Show All Files", and uncheck the box for "Hide file extensions for known files
> types", then click OK.
> See here:
> http://home.mindspring.com/~glee29/images/f-opt98.jpg
> --
> Glen Ventura, MS MVP Shell/User, A+
> http://dts-l.org/goodpost.htm
>
>
> "PSRumbagh" <PSRumbagh@discussions.microsoft.com> wrote in message
> news:3C703DF2-55F5-4232-BE61-BA68FDB3DD38@microsoft.com...
> > (Q#1) In the "Folders" section of Windows Explorer I right click on
> > "HP_Pavilion (C:)" then select "Properties". I only get information on used
> > space (6.89GB), free space (2.72GB) and capacity (9.61GB). There is no
> > information concerning the total number of ("Top level") folders (88) or the
> > total number of files (51,611) on the C: drive. I got the total folder and
> > total file information by MANUALLY counting the number of folders ("Top
> > level") and right clicking for properties on EACH of the (88) ("Top level")
> > folders. This was a lot of work. Is there an easier way to get this
> > information?
> >
> > (Q#2) When I ran AOL's program "AOL Spyware Protection" it scanned 51,743
> > files which is 132 more files than I counted. I double checked my manual
> > counting and got the exact same results. I then ran the NoAdware v3.0
> > (Spybot) spyware program and it scanned 60,323 files which is 8712 files more
> > than I counted. What are these extra files and where are they?
>
>
Glee:
Your Windows Explorer approach worked fine in Windows 98 First Edition. It
revealed that I have 52,371 files including hidden files in 2883 folders.

I also discovered that the MSDOS command C:\dir/s would reveal the total
number of non-hidden files (48,626 files in 8,217 dir(s)). Also, the MSDOS
command C:\dir/s/ah revealed the total number of hidden files (510 files in
20 dir(s)). The results were the same from either the MSDOS Prompt Windows
shortcut or from booting up under MSDOS. Why does Windows Explorer show
52,371 files while MSDOS shows 49,136 (48,626 + 510 = 49,136) files? Note,
running a full scan using the program "AOL Spyware Protection" reveals that
it scanned 52,371 files, the same number as the Windows Explorer approach.

Thanks for the hint.

Paul Rumbaugh
PSRumbaugh@aol.com
 
G

Guest

Guest
Archived from groups: microsoft.public.win98.gen_discussion (More info?)

Paul,
When you use DIR /s you get an output of all files EXCEPT hidden files *and* system
files.
When you use DIR /s /ah you are getting only the hidden files, but not the system
files.

Just use: DIR /s /a
When you use the /a switch without specifying attributes, DIR displays all files,
*including* hidden and system files.

Windows Explorer will list all files regardless of attributes when you select all
and right-click> choose Properties, as long as you have your Explorer View settings
at "Show All Files" (Start> Settings> Folder Options> View tab)
http://home.mindspring.com/~glee29/images/f-opt98.jpg
--
Glen Ventura, MS MVP Shell/User, A+
http://dts-l.org/goodpost.htm


"PSRumbagh" <PSRumbagh@discussions.microsoft.com> wrote in message
news:01FE9611-C832-4C86-9C17-03236E2DCC30@microsoft.com...
>
>
> "glee" wrote:
>
> > 1) Open Windows Explorer, select the C: drive in the left pane.
> > Press CTRL+A, which will select all visible files and folders in the right pane.
> > In the right pane, right-click any one of the selected files, and click
Properties
> > on the menu that appears.
> > The Properties box will show you a total count of all files and folders on C:
> >
> > 2) There are hidden files, that will not show up unless you set your folder
options
> > to show all files:
> > Click Start> Settings> Folder Options> View tab, set the Hidden Files setting to
> > "Show All Files", and uncheck the box for "Hide file extensions for known files
> > types", then click OK.
> > See here:
> > http://home.mindspring.com/~glee29/images/f-opt98.jpg
> > --
> > Glen Ventura, MS MVP Shell/User, A+
> > http://dts-l.org/goodpost.htm
> >
> >
> > "PSRumbagh" <PSRumbagh@discussions.microsoft.com> wrote in message
> > news:3C703DF2-55F5-4232-BE61-BA68FDB3DD38@microsoft.com...
> > > (Q#1) In the "Folders" section of Windows Explorer I right click on
> > > "HP_Pavilion (C:)" then select "Properties". I only get information on used
> > > space (6.89GB), free space (2.72GB) and capacity (9.61GB). There is no
> > > information concerning the total number of ("Top level") folders (88) or the
> > > total number of files (51,611) on the C: drive. I got the total folder and
> > > total file information by MANUALLY counting the number of folders ("Top
> > > level") and right clicking for properties on EACH of the (88) ("Top level")
> > > folders. This was a lot of work. Is there an easier way to get this
> > > information?
> > >
> > > (Q#2) When I ran AOL's program "AOL Spyware Protection" it scanned 51,743
> > > files which is 132 more files than I counted. I double checked my manual
> > > counting and got the exact same results. I then ran the NoAdware v3.0
> > > (Spybot) spyware program and it scanned 60,323 files which is 8712 files more
> > > than I counted. What are these extra files and where are they?
> >
> >
> Glee:
> Your Windows Explorer approach worked fine in Windows 98 First Edition. It
> revealed that I have 52,371 files including hidden files in 2883 folders.
>
> I also discovered that the MSDOS command C:\dir/s would reveal the total
> number of non-hidden files (48,626 files in 8,217 dir(s)). Also, the MSDOS
> command C:\dir/s/ah revealed the total number of hidden files (510 files in
> 20 dir(s)). The results were the same from either the MSDOS Prompt Windows
> shortcut or from booting up under MSDOS. Why does Windows Explorer show
> 52,371 files while MSDOS shows 49,136 (48,626 + 510 = 49,136) files? Note,
> running a full scan using the program "AOL Spyware Protection" reveals that
> it scanned 52,371 files, the same number as the Windows Explorer approach.
>
> Thanks for the hint.
>
> Paul Rumbaugh
> PSRumbaugh@aol.com
 
G

Guest

Guest
Archived from groups: microsoft.public.win98.gen_discussion (More info?)

| Just use: DIR /s /a
| When you use the /a switch without specifying attributes, DIR displays
all
| files, *including* hidden and system files.

That's true, EXCEPT it drove me batty one day to discover "/s /a" will
not cross the barrier of a Hidden OR a System FOLDER. Thus...

C:\>dir system.sav /s /a
....snip...
Directory of C:\system.sav\WINDOWS\TASKS
DESKTOP INI 65 04-23-99 10:22p DESKTOP.INI
1 file(s) 65 bytes
Total files listed:
105 file(s) 3,974,332 bytes
107 dir(s) 6,769.41 MB free

....shows TASKS & counts it's file, but will not do so if TASKS is made
Hidden or System...

C:\>attrib +s C:\system.sav\WINDOWS\TASKS
C:\>dir system.sav /s /a
....snip...
Total files listed:
104 file(s) 3,974,267 bytes
105 dir(s) 6,769.41 MB free


--
Thanks or Good Luck,
There may be humor in this post, and,
Naturally, you will not sue,
should things get worse after this,
PCR
pcrrcp@netzero.net
"glee" <glee29@spamindspring.com> wrote in message
news:ekwJCytnFHA.3568@TK2MSFTNGP10.phx.gbl...
| Paul,
| When you use DIR /s you get an output of all files EXCEPT hidden files
*and* system
| files.
| When you use DIR /s /ah you are getting only the hidden files, but not
the system
| files.
|
| Just use: DIR /s /a
| When you use the /a switch without specifying attributes, DIR displays
all files,
| *including* hidden and system files.
|
| Windows Explorer will list all files regardless of attributes when you
select all
| and right-click> choose Properties, as long as you have your Explorer
View settings
| at "Show All Files" (Start> Settings> Folder Options> View tab)
| http://home.mindspring.com/~glee29/images/f-opt98.jpg
| --
| Glen Ventura, MS MVP Shell/User, A+
| http://dts-l.org/goodpost.htm
|
|
| "PSRumbagh" <PSRumbagh@discussions.microsoft.com> wrote in message
| news:01FE9611-C832-4C86-9C17-03236E2DCC30@microsoft.com...
| >
| >
| > "glee" wrote:
| >
| > > 1) Open Windows Explorer, select the C: drive in the left pane.
| > > Press CTRL+A, which will select all visible files and folders in
the right pane.
| > > In the right pane, right-click any one of the selected files, and
click
| Properties
| > > on the menu that appears.
| > > The Properties box will show you a total count of all files and
folders on C:
| > >
| > > 2) There are hidden files, that will not show up unless you set
your folder
| options
| > > to show all files:
| > > Click Start> Settings> Folder Options> View tab, set the Hidden
Files setting to
| > > "Show All Files", and uncheck the box for "Hide file extensions
for known files
| > > types", then click OK.
| > > See here:
| > > http://home.mindspring.com/~glee29/images/f-opt98.jpg
| > > --
| > > Glen Ventura, MS MVP Shell/User, A+
| > > http://dts-l.org/goodpost.htm
| > >
| > >
| > > "PSRumbagh" <PSRumbagh@discussions.microsoft.com> wrote in message
| > > news:3C703DF2-55F5-4232-BE61-BA68FDB3DD38@microsoft.com...
| > > > (Q#1) In the "Folders" section of Windows Explorer I right click
on
| > > > "HP_Pavilion (C:)" then select "Properties". I only get
information on used
| > > > space (6.89GB), free space (2.72GB) and capacity (9.61GB).
There is no
| > > > information concerning the total number of ("Top level") folders
(88) or the
| > > > total number of files (51,611) on the C: drive. I got the total
folder and
| > > > total file information by MANUALLY counting the number of
folders ("Top
| > > > level") and right clicking for properties on EACH of the (88)
("Top level")
| > > > folders. This was a lot of work. Is there an easier way to get
this
| > > > information?
| > > >
| > > > (Q#2) When I ran AOL's program "AOL Spyware Protection" it
scanned 51,743
| > > > files which is 132 more files than I counted. I double checked
my manual
| > > > counting and got the exact same results. I then ran the
NoAdware v3.0
| > > > (Spybot) spyware program and it scanned 60,323 files which is
8712 files more
| > > > than I counted. What are these extra files and where are they?
| > >
| > >
| > Glee:
| > Your Windows Explorer approach worked fine in Windows 98 First
Edition. It
| > revealed that I have 52,371 files including hidden files in 2883
folders.
| >
| > I also discovered that the MSDOS command C:\dir/s would reveal the
total
| > number of non-hidden files (48,626 files in 8,217 dir(s)). Also,
the MSDOS
| > command C:\dir/s/ah revealed the total number of hidden files (510
files in
| > 20 dir(s)). The results were the same from either the MSDOS Prompt
Windows
| > shortcut or from booting up under MSDOS. Why does Windows Explorer
show
| > 52,371 files while MSDOS shows 49,136 (48,626 + 510 = 49,136) files?
Note,
| > running a full scan using the program "AOL Spyware Protection"
reveals that
| > it scanned 52,371 files, the same number as the Windows Explorer
approach.
| >
| > Thanks for the hint.
| >
| > Paul Rumbaugh
| > PSRumbaugh@aol.com
|