DriveAvailableSpace

Syntax:

DriveAvailableSpace(Str)

Description:
Returns, in megabytes (MB), the amount of space remaining on the specified drive letter .

Parameter Description

Str  A text string containing the drive letter to be checked for available space.

Example:

Sub Main
 

   MsgBox DriveAvailableSpace("c:")


End
Sub

See Also:

DriveExists

FileCount

FileExists

FolderExists