| Maptitude GISDK Help |
Gets the disk size and the amount of space available in bytes.
In Version 6.0/2012 the returned values were changed from integer to real numbers.
space = GetDiskSpace(string path)
| Argument | Contents |
|---|---|
| path | A path on the drive for which the space information is needed |
Returns a two-element array of real numbers. The first element is the amount of free space and the second element is the total disk size.
space = GetDiskSpace("c:")
| Error Type | Meaning |
|---|---|
| NotFound | The path was not found |
| Function | Summary |
|---|---|
| GetDrives() | Returns a list of disk drives and their type |
| GetFileInfo() | Gets information about a file |
| ©2025 Caliper Corporation | www.caliper.com |