It is currently November 18th, 2018, 11:40 pm

Support for reading disk space on mounted NTFS folder

Report bugs with the Rainmeter application and suggest features.
User avatar
Brian
Developer
Posts: 1790
Joined: November 24th, 2011, 1:42 am
Location: Ohio

Re: Support for reading disk space on mounted NTFS folder

Brian » October 9th, 2017, 4:56 am

While this isn't documented anywhere, the FreeDiskSpace does support mounted folders on drives.

I mounted an extra drive F:\ as a folder on my C:\ drive under the folder C:\ZZZ\

Simple test skin:

Code: Select all

[Rainmeter]
Update=1000
AccurateText=1
BackgroundMode=2
SolidColor=0,0,0,150

[Variables]
C=C:\
F=F:\
M=C:\ZZZ\

[C_Used]
Measure=FreeDiskSpace
Drive=#C#
InvertMeasure=1
UpdateDivider=120

[F_Used]
Measure=FreeDiskSpace
Drive=#F#
InvertMeasure=1
UpdateDivider=120

[M_Used]
Measure=FreeDiskSpace
Drive=#M#
InvertMeasure=1
UpdateDivider=120

[C_Total]
Measure=FreeDiskSpace
Drive=#C#
Total=1
UpdateDivider=120

[F_Total]
Measure=FreeDiskSpace
Drive=#F#
Total=1
UpdateDivider=120

[M_Total]
Measure=FreeDiskSpace
Drive=#M#
Total=1
UpdateDivider=120

[Drives]
Meter=String
MeasureName=C_Used
MeasureName2=C_Total
MeasureName3=F_Used
MeasureName4=F_Total
MeasureName5=M_Used
MeasureName6=M_Total
Padding=5,5,5,5
FontColor=255,255,255
Text=#C#	%1B/%2B#CRLF##F#	%3B/%4B#CRLF##M#	%5B/%6B
NumOfDecimals=1
AutoScale=1
AntiAlias=1
Here is what I got:
Mounted.png
-Brian
You do not have the required permissions to view the files attached to this post.