GetFreeDiskSpace

Demonstrates how to check the number of free disk space.

Remarks

This example illustrates how to get the number of free disk space on drive c (on a Window system).

Code

 local double space
 space = GetFreeDiskSpace( "c" )

 print F$String( space )

Output

Sample output:

258881536

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.