The Get Volume Information action populates a variable or dataset with information about system drives. You can populate a variable with a selected property for a selected drive, or you can populate a dataset with all the data for all drives.
The data that can be collected are volume type, volume label, file system, current user's available space, total available space, total capacity, and used space. (Capacity and space are given in kilobytes.)
The variable must be created in an earlier step using the Create Variable action.
From the Task Builder Available Actions pane, open the (draftnote: which?) folder and double-click the Get Volume Information action or drag it into the Steps pane.
Do one of the following:
To populate a variable with specific drive information:
In the Drive box, select the drive.
In the Parameter box, select the parameter to collect.
In the Populate variable with result box, select the variable to populate.
To populate a dataset with data for all drives:
Select Create dataset for all volumes.
In the Dataset to populate with all information box, enter a name for the dataset. (Dataset names must be alphanumeric, begin with a letter, and contain no spaces.)
To set the Description tab properties, refer to Description Tab Options.
To set the Error Causes and On Error tab properties, refer to Step Error Handling.
When finished, click OK to save settings and close the properties dialog window.
Adding Task Steps
Get Volume Information Action