FreeDiskSpace Property Example
This example checks the amount of free disk space. If there's less than 10 megabytes of space available, a message is displayed.
If (System.FreeDiskSpace \ 1048576) < 10 Then _ MsgBox "Low disk space"