Programming Reference Manual
 
Syntax
 
DiskFree&([drive$])
 
Description
Returns a Long containing the free space (in bytes) available on the specified drive.
 
If drive$ is zero-length or not specified, then the current drive is assumed.
 
Only the first character of the drive$ string is used.
 
Parameter
Description
drive$
Optional, drive to be examined. 
See Also
Example
 
Sub Main
s$ = “c”
i# = DiskFree(s$)
MsgBox “Free disk space on drive '” & _
s$ & “’ is: “ & i#
End Sub