file.bytesOnVolume
| Syntax |
file.bytesOnVolume (path)
|
| Params |
path is the name of a mounted disk volume whose size you wish to compute.
|
| Action |
Computes the size in bytes of the indicated volume.
|
| Returns |
The number of bytes used on the disk volume.
|
| Examples |
file.bytesOnVolume ("C:\\") false // currently fails on Windows
file.bytesOnVolume ("System:")
|
| Errors |
Attempting to use this verb on a non-existent or unmounted volume results in an error.
|
| Notes |
The number of bytes in a volume can be computed quickly because the File system maintains the information. This verb will not return the correct result if there are more than 2 Gigabytes on the volume. If you are running Frontier 6.1 or later, you should use file.bytesOnVolumeDouble instead which will work with volume sizes of up to 4 Terabytes.
|
| See Also |
file.bytesOnVolumeDouble
|