# SETDRIVE Change Default Drive

> Source: https://manual.pvxplus.com/directives/setdrive

## Format

**SETDRIVE** {*letter$* **|** *number}*

***Where:***

|  |  |
| --- | --- |
| *letter$* | String expression. Drive letter from A to Z representing the new disk from which you want to work or run applications. |
| *number* | Numeric expression. Number from 0 to 25 representing the drive letter (A to Z) from which you want to work or run applications. |

Note:  
This directive only functions with PVX Windows and is used primarily in the conversion to or from older Business Basic languages.

## Description

Use the **SETDRIVE** directive to change the default disk drive.

## See Also

**[CWDIR Change Working Directory](https://manual.pvxplus.com/directives/cwdir)**
