file.volumeSizeDouble
| Syntax |
file.volumeSizeDouble (path)
|
| Params |
path is the name of the volume whose total capacity you wish to determine.
|
| Action |
Determines the total capacity of the designated volume.
|
| Returns |
The total capacity of the volume in bytes as a double floating-point value.
|
| Examples |
file.volumeSizeDouble ("d:\\") //a 7.5 GB hard disk » 8027869184.0
file.volumeSizeDouble ("Macintosh HD:") //a 4.2 GB hard disk
|
| Errors |
Attempting to find out the total capacity of a non-existent volume results in an error message.
|
| 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.volumeSize doesn't. The File System maintains this number, so no traversal of the directory is necessary. Therefore, this verb is fast. This verb is new in Frontier 6.1.
|
| See Also |
file.volumeSize
|