Hi there,
I'm trying to read the total and available space on the SD Card inserted on my Toshiba Laptop, but until now I was unable to perform it.
does anybody know how can it be done?
Thanks in advance.
It is currently May 4th, 2024, 12:49 pm
SD-Card reading
-
- Posts: 2
- Joined: November 14th, 2016, 8:00 pm
-
- Rainmeter Sage
- Posts: 16198
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: SD-Card reading
The following two measures will do what you want:
Add to the [Variables] section, into the Drive variable, the letter of your SD Card.
Note the most important option on both measures: IgnoreRemovable=0. If you don't add this, according to the default value of this option, the SD card is ignored.
Code: Select all
[MeasureTotalDiskSpace]
Measure=FreeDiskSpace
Drive=#Drive#
Total=1
IgnoreRemovable=0
[MeasureFreeDiskSpace]
Measure=FreeDiskSpace
Drive=#Drive#
IgnoreRemovable=0
Note the most important option on both measures: IgnoreRemovable=0. If you don't add this, according to the default value of this option, the SD card is ignored.
-
- Posts: 2
- Joined: November 14th, 2016, 8:00 pm
Re: SD-Card reading
Thankyou very much! It works perfectly!
-
- Rainmeter Sage
- Posts: 16198
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania