4D v16.3VOLUME ATTRIBUTES |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16.3
VOLUME ATTRIBUTES
VOLUME ATTRIBUTES
The VOLUME ATTRIBUTES command returns, expressed in bytes, the size, the used space and the free space for the volume whose name you pass in volume. Note: If volume indicates a non-mounted remote volume, the OK variable is set to 0 and the three parameters return -1. Your application includes some batch operations running the night or the week-end that store huge temporary files on disk. To make this process as automatic and flexible as possible, you write a routine that will automatically find the first volume whose free space is sufficient for your temporary files. You might write the following project method: ` Find volume for space Project Method Once this project method is added to your application, you can for instance write: $vsVolume:=Find volume for space(100*1024*1024)
See also
|
PROPERTIES
Product: 4D HISTORY
Created: 4D v6 ARTICLE USAGE
4D Language Reference ( 4D v16) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||