file.bytesOnVolumeDouble
| Syntax |
file.bytesOnVolumeDouble (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 as a double floating-point value.
|
| Examples |
file.bytesOnVolumeDouble ("d:\\") » 3266084864.0
file.bytesOnVolumeDouble ("Macintosh HD:")
|
| Errors |
Attempting to use this verb on a non-existent or unmounted volume results in an error.
|
| Notes |
This verb should work with volumes up to 4 Terabytes large, sepcifically it returns the correct result for volumes larger than 2 Gigabyte where file.bytesOnVolume doesn't. The number of bytes in a volume can be computed quickly because the File system maintains the information. This verb is new in Frontier 6.1. It is implemented as a script.
|
| See Also |
file.size
|