Why not use some wmi code to determine diskspace,etc ?

JH

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Steven Holt
Sent: Saturday, September 29, 2007 5:43 AM
To: [email protected]
Subject: Re: Determining size on disk?

Thanks, those cluster roundups sound like they are probably more effort 
than they are worth.  I'd been hoping there was something like a quick 
and dirty call to explorer methodology someone had worked out for 
something else.  But this sort of thing would probably be a good bit slower.

Just tested a before and after diskspace() subtraction method.  To my 
great surprise, it yielded extreme variation - up to 2 GB size 
variation.  The simple addition method is good enough, varying only a 
small percentage and disks are damnably cheap on sale so the wasted 
space is not worth a major development effort.   I just hate to waste 
space (or time) in this here continuum.    

Best,

Steve

Steven 
Holt

http://stockpix.com
(541) 
267-2803

[EMAIL PROTECTED]
93559 Easy Creek Ln.
Coos Bay, OR 97420


[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL 
PROTECTED]@shelbynet.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to