> For the complete documentation index, see [llms.txt](https://chaoses-ib.gitbook.io/directory-opus/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://chaoses-ib.gitbook.io/directory-opus/manual/reference/scripting_reference/scripting_objects/drive.md).

# Drive

The **Drive** object provides information about a drive (hard drive, CD ROM, etc) on your system. You can obtain a [**Vector**](/directory-opus/manual/reference/scripting_reference/scripting_objects/vector.md) of **Drive** objects, one for each drive on your system, from the [**FSUtil**](/directory-opus/manual/reference/scripting_reference/scripting_objects/fsutil.md)**.Drives** method.

&#x20;

| **Property Name** | **Return** Type                                                                                             | Description                                                                                                                                                           |
| ----------------- | ----------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| *default value*   | *string*                                                                                                    | Returns the root of the drive (e.g. **C:\\**).                                                                                                                        |
| avail             | *object:*[**FileSize**](/directory-opus/manual/reference/scripting_reference/scripting_objects/filesize.md) | Returns a [**FileSize**](/directory-opus/manual/reference/scripting_reference/scripting_objects/filesize.md) object indicating the available free space on the drive. |
| bpc               | *int*                                                                                                       | Returns the bytes-per-cluster value for the drive.                                                                                                                    |
| filesys           | *string*                                                                                                    | Returns a string representing the filesystem type.                                                                                                                    |
| flags             | *int*                                                                                                       | Returns a value representing filesystem flags for the drive.                                                                                                          |
| free              | *object:*[**FileSize**](/directory-opus/manual/reference/scripting_reference/scripting_objects/filesize.md) | Returns a [**FileSize**](/directory-opus/manual/reference/scripting_reference/scripting_objects/filesize.md) object indicating the total free space on the drive.     |
| label             | *string*                                                                                                    | Returns the drive's label.                                                                                                                                            |
| total             | *object:*[**FileSize**](/directory-opus/manual/reference/scripting_reference/scripting_objects/filesize.md) | Returns a [**FileSize**](/directory-opus/manual/reference/scripting_reference/scripting_objects/filesize.md) object indicating the total size of the drive.           |
| type              | *string*                                                                                                    | Returns a string indicating the drive type (removable, fixed, remote, cdrom, ramdisk).                                                                                |
