Re: How to detect file size and file size on disk...
- From: "Babu VT" <babuvt@xxxxxxxxxxxxx>
- Date: Sun, 23 Jul 2006 23:03:13 +0530
Hi,
If you still have the below requirement, then let me know so that I create a
commandline tool to get the results....
Babu
"D R" <a@xxxxx> wrote in message
news:eYjwQ0WnGHA.1244@xxxxxxxxxxxxxxxxxxxxxxx
Hi,
Please excuse the cross post, but I didn't get any good responses in other
groups... anyway...
Using Windows Explorer, when I right click a folder and select
"properties"
the GUI totals up the number of folders and files, and provides two
figures
for the size of all files, namely, file size, and file size on disk. So,
when I have compressed files present, the size on disk is lower than the
file size.
How do I get the same number using the "fso" object in WSH/VBScript, or
WMI
(e.g. CIM_DataFile)? I've got a script that will recurse through folders
and files, and totals up the file sizes, but I can't figure out how to get
the two sizes (i.e. file size on disk, and file size when uncompressed)
using WSH/VBScript?
I'm not look for any code examples, just a quick response pointer in the
right direction.
Thanks,
Dave.
.
- Follow-Ups:
- Prev by Date: Re: Using WSH to change DCOM properties
- Next by Date: getobject fails with "Permission denied" error
- Previous by thread: Re: Using WSH to change DCOM properties
- Next by thread: Re: How to detect file size and file size on disk...
- Index(es):
Relevant Pages
|