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 with Type and Label.
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]
Update=1000
DynamicWindowSize=1

[MeasureDiskLabel]
Measure=FreeDiskSpace
Drive=C:
Label=1
UpdateDivider=5

[MeasureTotalDiskSpace]
Measure=FreeDiskSpace
Drive=C:
Total=1
UpdateDivider=5

[MeasureFreeDiskSpace]
Measure=FreeDiskSpace
Drive=C:
UpdateDivider=5

[MeasureUsedDiskSpace]
Measure=FreeDiskSpace
Drive=C:
InvertMeasure=1
UpdateDivider=5

[MeterDriveInfo]
Meter=String
MeasureName=MeasureDiskLabel
MeasureName2=MeasureTotalDiskSpace
MeasureName3=MeasureFreeDiskSpace
MeasureName4=MeasureUsedDiskSpace
X=0
Y=0
FontSize=10
FontColor=255,255,255,255
SolidColor=0,0,0,255
AntiAlias=1
AutoScale=1
Text="C:\ (%1): [Total: %2B] [Free: %3B] [Used: %4B]"