A Windows 98 & ME forum. Win98banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Win98banter forum » Windows 98 » General
Site Map Home Authors List Search Today's Posts Mark Forums Read Web Partners

Finding total number of Folders and Files on C: drive



 
 
Thread Tools Display Modes
  #31  
Old August 10th 05, 02:51 AM
glee
external usenet poster
 
Posts: n/a
Default

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" wrote in message
...
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.


  #32  
Old August 10th 05, 04:08 AM
Rick Chauvin
external usenet poster
 
Posts: n/a
Default

Hugh Candlin wrote:
"Rick Chauvin" wrote in message
...
Hugh Candlin wrote:
"Rick Chauvin" wrote in message
...
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





  #33  
Old August 10th 05, 06:11 PM
Hugh Candlin
external usenet poster
 
Posts: n/a
Default


"glee" wrote in message
...
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.


  #34  
Old August 10th 05, 06:27 PM
Hugh Candlin
external usenet poster
 
Posts: n/a
Default


"Hugh Candlin" wrote in message
...

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.


  #35  
Old August 11th 05, 03:47 AM
PSRumbagh
external usenet poster
 
Posts: n/a
Default



"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 he
http://home.mindspring.com/~glee29/images/f-opt98.jpg
--
Glen Ventura, MS MVP Shell/User, A+
http://dts-l.org/goodpost.htm


"PSRumbagh" wrote in message
...
(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

  #36  
Old August 12th 05, 02:23 AM
glee
external usenet poster
 
Posts: n/a
Default

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" wrote in message
...


"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 he
http://home.mindspring.com/~glee29/images/f-opt98.jpg
--
Glen Ventura, MS MVP Shell/User, A+
http://dts-l.org/goodpost.htm


"PSRumbagh" wrote in message
...
(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


  #37  
Old August 12th 05, 04:57 AM
PCR
external usenet poster
 
Posts: n/a
Default

| 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

"glee" wrote in message
...
| 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" wrote in message
| ...
|
|
| "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 he
| http://home.mindspring.com/~glee29/images/f-opt98.jpg
| --
| Glen Ventura, MS MVP Shell/User, A+
| http://dts-l.org/goodpost.htm
|
|
| "PSRumbagh" wrote in message
| ...
| (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
|
|


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
files and folders in reverse order dan General 2 December 27th 04 10:51 PM
Win9x : Utility to dynamic mapping TEMP to memory ? Libor Striz General 22 September 15th 04 06:56 AM
Deleting Files Peter General 2 June 21st 04 09:07 PM
C Windows profiles user application data LuckyStrike General 24 June 18th 04 12:13 AM
Windows Me Start/Search For Files or Folders Doesn't Work Greg Software & Applications 0 May 6th 04 02:03 PM


All times are GMT +1. The time now is 08:03 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Win98banter.
The comments are property of their posters.