Measure=FreeDiskSpace measures disk usage. By default the value will be the amount of free space. To obtain the used space, add InvertMeasure=1.
The measure will have a range from 0 to the actual total size of the measured disk resource for use by meters requiring a percentage.
- General measure options
All general measure options except
- Defines the drive to measure.
If set to
1, provides the total drive space.
If set to
1, the string value is the drive label. The number value is not altered.
String Number Error 0 Removed 1 Removable 3 Fixed 4 Network 5 CDRom 6 Ram 7
Note: FreeDiskSpace does not support CD or DVD drives other than with
- If set to 1, removable drives are ignored. If set to 0, removable drives are measured. Be sure to set IgnoreRemovable=0 to measure a USB drive.
- If set to 1, user specific disk quotas in Windows are obeyed. If set to 0, user account specific disk quotas are ignored when obtaining free or used space on the disk.