# Drive

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

&#x20;

| **Property Name** | **Return** Type                                                                                                                       | Description                                                                                                                                                                                     |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| *default value*   | *string*                                                                                                                              | Returns the root of the drive (e.g. **C:\\**).                                                                                                                                                  |
| avail             | *object:*[**FileSize**](https://chaoses-ib.gitbook.io/directory-opus/manual/reference/scripting_reference/scripting_objects/filesize) | Returns a [**FileSize**](https://chaoses-ib.gitbook.io/directory-opus/manual/reference/scripting_reference/scripting_objects/filesize) 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**](https://chaoses-ib.gitbook.io/directory-opus/manual/reference/scripting_reference/scripting_objects/filesize) | Returns a [**FileSize**](https://chaoses-ib.gitbook.io/directory-opus/manual/reference/scripting_reference/scripting_objects/filesize) object indicating the total free space on the drive.     |
| label             | *string*                                                                                                                              | Returns the drive's label.                                                                                                                                                                      |
| total             | *object:*[**FileSize**](https://chaoses-ib.gitbook.io/directory-opus/manual/reference/scripting_reference/scripting_objects/filesize) | Returns a [**FileSize**](https://chaoses-ib.gitbook.io/directory-opus/manual/reference/scripting_reference/scripting_objects/filesize) object indicating the total size of the drive.           |
| type              | *string*                                                                                                                              | Returns a string indicating the drive type (removable, fixed, remote, cdrom, ramdisk).                                                                                                          |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://chaoses-ib.gitbook.io/directory-opus/manual/reference/scripting_reference/scripting_objects/drive.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
