Logical Disk Compare Size & Free Space

 Hi,

I'm looking to send an email from my Automise project when the free drive space falls below 5% of the total available. What I have so far follows. I'm looking to use the results of the Get Logical Disk Information action but currently can only put all of the results into one variable rather than the size and the free space into separate ones for comparison. 

Any help is greatly appreciated

Steph

----------------

Action Description: 5.1 Get Logical Disk Information [ C:]

Logging Properties: Log To Variable: C_Drive; Log Action Properties

Drive Letter: C:

Fail if drive not found

-----

Action Description: 5.2 If Variable Defined [%C_Drive%]

Variable Name: %C_Drive%

Behaviour: Execute Child actions only if variable is defined

-----

Action Description: 5.3 Send Email

---------------

Hi Steph,

Attached is an example of how to calculate the percentage of free space on a drive. Let us know you need any further help.

Regards,
Paul.

FreeSpace.atz3 (2.077 KB)

 Hi Paul,

 

That's brilliant, thanks very much

 

Steph