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
|