in reply to Re: Finding Drive usage info with Win32 ($^E?)
in thread Finding Drive usage info with Win32
I found Win32::AdminMisc on the Roth Consulting site. The Win32::AdminMisc FAQ, which appears to also contain the documentation, provides a link to the ftp site that can be used to download the latest version of the module (currently 20030714). This module is available from the Roth PPM repository (http://www.roth.net/perl/packages/).
According to the FAQ, the GetDriveSpace function returns nothing if the call was unsuccessful, or the total drive capacity and the available space on the drive if the call was successful.
A list of Roth Consulting's Perl Extensions is available at http://www.roth.net/perl/#Installation.
Update: This post was in response to tye's "Unfortunately, Win32::AdminMisc isn't on CPAN so I'm not going to go googling in hopes of find it and documentation for it" rather than his comment regarding the reason of failure. I just thought quick access to the links above would be useful in future searches. For the record, I didn't see anything in the docs about failure reasons and I didn't examine the code.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Finding Drive usage info with Win32 ($^E??)
by tye (Sage) on May 18, 2006 at 06:06 UTC |