FreeDiskSpace measure
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.
Options
- General measure options
-
All general measure options except
MaxValue
are valid. Drive
Default:C:
- Defines the drive to measure.
Total
Default:0
-
If set to
1
, provides the total drive space. Label
Default:0
-
If set to
1
, the string value is the drive label. The number value is not altered. Type
Default:0
-
If set to
1
, provides the drive type as a string and a number.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 withType
andLabel
. IgnoreRemovable
Default:1
- 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.
DiskQuota
Default:1
- 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.
Example
[Rainmeter] |