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

Hmmm... that's 2.5 TB - works here with 8 TB ... That raises the following questions:

Replies are listed 'Best First'.
Re^8: Error with GetDRIVE() when using a mapped drive
by vanz (Initiate) on Nov 11, 2014 at 21:05 UTC

    -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

      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?