(
(
string value of property "FreeSpace" of it as floating point / string value of property "Capacity" of it as floating point * 100
)
as integer as string & " percent free"
)
of
(
select objects
(
"Label,DriveLetter, Capacity,FreeSpace from Win32_Volume WHERE SystemVolume='True'"
)
of WMI
)
((string value of property "FreeSpace" of it as floating point / string value of property "Capacity" of it as floating point * 100) as integer as string & " percent free") of (select objects ("Label,DriveLetter, Capacity,FreeSpace from Win32_Volume WHERE SystemVolume='True'") of WMI)