DRIVESPACE ()
Usage:
DRIVESPACE(drivespec) Return Val: Amount of divespace left of drive drivespec.
Example:
integer left
left = DRIVESPACE("c:\") println "There are ",tostring(left)," bytes on drive C."
`drivespec´ must include at least a drive letter AND a colon. Backslash is optional. With directory specs it will work also. valid drivespecs are C: C:\ C:\PCB These will all return drivespace left on dirve C
*NOTE On LANTASTIC this will return drivespace of the current physical drive even if it is mapped as a directory.
See also: FileInf, Delete