in reply to Re^7: Error with GetDRIVE() when using a mapped drive
in thread Error with GetDRIVE() when using a mapped drive

-This is perl, v5.10.0 built for MSWin32-x64-multi-thread - The numbers look correct when I run the script in the cmd.exe -Windows 64-bit

  • Comment on Re^8: Error with GetDRIVE() when using a mapped drive

Replies are listed 'Best First'.
Re^9: Error with GetDRIVE() when using a mapped drive
by soonix (Chancellor) on Nov 13, 2014 at 11:50 UTC

    This is mysterious. In my mental model, Win32::OLE is just a wrapper around the win32 API and wouldn't treat FreeSpace differently than TotalSize.

    Perhaps NTFS Misreports Free Space? - perhaps you don't have enough permissions? Is the volume mounted in a special way?