# Logical Disk Compare Size & Free Space

**URL:** https://www.finalbuilder.com/forums/t/logical-disk-compare-size-free-space/4466
**Category:** Discussion
**Created:** [January 24, 2011, 4:58am UTC](https://www.finalbuilder.com/forums/t/logical-disk-compare-size-free-space/4466 "2011-01-24T04:58:22Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [January 24, 2011, 4:58am UTC](https://www.finalbuilder.com/forums/t/logical-disk-compare-size-free-space/4466/1 "2011-01-24T04:58:22Z")

</div>

&nbsp;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&nbsp;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.&nbsp;

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:&nbsp;5.2 If Variable Defined [%C\_Drive%]

Variable Name:&nbsp;%C\_Drive%

Behaviour: Execute Child actions only if variable is defined

-----

Action Description: 5.3 Send Email

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

---

<div class="post-metadata">

### Author: ![paulsamways](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e8c25b/32.png) [@paulsamways](https://www.finalbuilder.com/forums/u/paulsamways)
#### Post date: [January 27, 2011, 2:09am UTC](https://www.finalbuilder.com/forums/t/logical-disk-compare-size-free-space/4466/2 "2011-01-27T02:09:53Z")

</div>

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](https://www.finalbuilder.com/forums/uploads/default/original/2X/3/3e1b48309e1ef2cb137d63b5e5853dfc92887a4e.atz3) (2.077 KB)

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [January 27, 2011, 12:05pm UTC](https://www.finalbuilder.com/forums/t/logical-disk-compare-size-free-space/4466/3 "2011-01-27T12:05:27Z")

</div>

&nbsp;Hi Paul,

&nbsp;

That's brilliant, thanks very much

&nbsp;

Steph
