ChDrive Statement

Changes the current disk drive for file operations.

Syntax
ChDrive drive

Parameters

drive
Specify a valid drive (with one character).

Description
ChDrive is available only with the PC disk.

When the power is turned on, the “C” drive will be the current drive if a project is closed. If a project is open, the drive of the opened project will be the current drive.

See ChDisk for the details.

See Also
ChDir, ChDisk, CurDrive$

ChDrive Statement Example
The following examples are done from the command window.

> ChDrive d