use Win32::DriveInfo; my @attribs = Win32::DriveInfo::DriveSpace('c:');