in reply to Finding Drive usage info with Win32
Unfortunately, Win32::AdminMisc isn't on CPAN so I'm not going to go googling in hopes of find it and documentation for it. But there is a reasonable chance that if the call fails, then you can look at $^E to get an explanation as to why it failed. If that doesn't work, then see the module's documentation for how you are supposed to get the failure reason.
Note that \\server won't have a 'c' shared drive unless you shared it, but will have a 'c$' automatically, though only accessible to administrators. So one possiblity is that you dropped the '$', though that is, of course, just a guess on my part.
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Finding Drive usage info with Win32 (Win32::AdminMisc)
by bobf (Monsignor) on May 17, 2006 at 04:44 UTC | |
by tye (Sage) on May 18, 2006 at 06:06 UTC | |
|
Re^2: Finding Drive usage info with Win32 ($^E?)
by TeraMarv (Beadle) on May 17, 2006 at 04:34 UTC |