try this and see if this will work for you

 PHP:
;************************************************************************ ;***** Determine HD free space on C: ***** ;************************************************************************ ? "Checking diskspace..." ? $HDSPACE = GetDiskSpace( "C:\" ) $HDGBSPACE = ($HDSPACE / 1048576) If $HDSPACE => "2097158" $HDSPACE_S = "Good" $HDSPACE = C:\ + " has " + $HDSPACE + " kb (about " + $HDGBSPACE + "GB) of free space" Else $HDSPACE_S = "Bad" $HDSPACE = $OS_LOC + " has " + $HDSPACE + " kb of free space" $Message2 = $Message2 + Chr(13) + "Low hard drive space - " + $HDSPACE EndIf ? 'HDSPACE ' + $HDSPACE_S + " " + $HDSPACE ? ? "End of Check..." ? ;************************************************************************