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. |
|
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
Finding total number of Folders and Files on C: drive
(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? |
#2
|
|||
|
|||
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? |
#3
|
|||
|
|||
"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 |
#4
|
|||
|
|||
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 |
#5
|
|||
|
|||
| 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 | | |
#6
|
|||
|
|||
"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? Run CHKDSK from a DOS prompt. |
#7
|
|||
|
|||
"Hugh Candlin" wrote in message
... "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. snip Run CHKDSK from a DOS prompt. That only gives total and available disk space, in bytes. It does not give a file count of any kind. -- Glen Ventura, MS MVP Shell/User, A+ http://dts-l.org/goodpost.htm |
#8
|
|||
|
|||
I hesitate to do it, having over 11,549 files in 772 folders, but can it
be a file count would be provided with a "/V"...?... C:\CHKDSK/? Checks a disk and displays a status report. CHKDSK [drive:][[path]filename] [/F] [/V] [drive:][path] Specifies the drive and directory to check. filename Specifies the file(s) to check for fragmentation. /F Fixes errors on the disk. /V Displays the full path and name of every file on the disk. Type CHKDSK without parameters to check the current disk. Instead of using CHKDSK, try using SCANDISK. SCANDISK can reliably detect and fix a much wider range of disk problems. C:\CHKDSK CHKDSK has NOT checked this drive for errors. You must use SCANDISK to detect and fix errors on this drive. Volume P C R HARD created 06-25-2005 5:29p Volume Serial Number is 3843-EC05 8,171,472 kilobytes total disk space 6,931,204 kilobytes free 4,096 bytes in each allocation unit 2,042,868 total allocation units on disk 1,732,801 available allocation units on disk 655,360 total bytes memory 612,608 bytes free Instead of using CHKDSK, try using SCANDISK. SCANDISK can reliably detect and fix a much wider range of disk problems. -- 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 ... | "Hugh Candlin" wrote in message | ... | | "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. | snip | | Run CHKDSK from a DOS prompt. | | That only gives total and available disk space, in bytes. It does not give a file | count of any kind. | -- | Glen Ventura, MS MVP Shell/User, A+ | http://dts-l.org/goodpost.htm | |
#10
|
|||
|
|||
snip Run CHKDSK from a DOS prompt. That only gives total and available disk space, in bytes. It does not give a file count of any kind. ===================== Win98 CHKDSK does show files and directories. Jack |
|
Thread Tools | |
Display Modes | |
|
|
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 |