CurDrive$ Function

Returns a string representing the current drive.

Syntax
CurDrive$

Return Values
A string that contains the current drive letter.

See Also
ChDrive Statement, CurDir$ Function, CurDisk$ Function

CurDrive$ Function Example

Print "The current drive is: ", CurDrive$