Purpose |
Return the total amount of space on a disk, in bytes. |
Syntax |
bytes&& = DISKSIZE(drive$) |
Remarks |
drive$ specifies the drive letter or UNC
share name (subject to operating system restrictions) of the disk to examine.
If drive$ is an empty
|
Restrictions |
With Windows 95 versions before OSR2, and Windows NT versions before 4.0, DISKSIZE may return a negative or inaccurate value for drives larger than 2 GB. |
See also |
|
Example |
DisplayText "Total bytes on C: " + FORMAT$(DISKSIZE("C"), "#,###") |