EN RU
Log in
Home
Download
Purchase
Documentation
Support
Contact us
 
Help  /  Command Reference  /  System

Get drive space

Retrieves information about the free and total amount of space available on a disk volume.

Description
Optionally, you may add comments here describing the purpose of this element.

Drive
Specify a drive you want to get the information about the space. You can enter a directory path or UNC name.

c:\temp
M:\

Variable name
The name of the variable into which the information will be written.

Variable name Description
[var] The free space.
(e.g. 15 or 435)
[var]total The total space.
(e.g. 21 or 916)
[var]_a The free space + units.
(e.g. 15.23 GB or 435.4 MB)
[var]total_a The total space + units.
(e.g. 21.12 GB or 916.4 MB)

When using the suffix "_a", units are automatically changed. Selecting the Value Type and Decimal places has no effect on it.
 

Value Type
Select the Value type of the result variable from the list.

Byte - The result is given in bytes.
KB - The result in KBytes.
MB - The result in MBytes.
GB - The result in GBytes.
TB - The result in TBytes.

Decimal places
Select the number of decimals from the list, except if the Value Type is set to bytes.

No - No decimal places. (e.g. 865)
1 - One decimal places. (e.g. 865.2)
2 - Two decimal places. (e.g. 865.24)

Eonza automation software - free, open source cross-platform program for easy creation and management of scripts.
  • Command Reference
    • Application
    • Dialogs
    • Files
    • Internet
    • Messages & Sound
    • Programming
    • Register DLL & Fonts
    • Registry & INI
    • System
      • Action After Reboot
      • Create Scheduled Task
      • Delete Scheduled Task
      • Get Application Information
      • Get drive space
      • Get letter of drives
      • Get Original Username
      • Send Keystroke
      • Check
      • Check Requirements
      • Check VC++ Redistributable
      • Shortcut - Create
      • Shortcuts [List]
      • System Information
    • Text Files
    • Uninstaller
    • Variables
Copyright © Novostrim, OOO, 2009-2026 All rights reserved.