ChDrive Instruction

Syntax
ChDrive Drive$
Group
File
Description
Change the current drive to Drive$.
Pocket PC
Not supported.
Sandbox
Sandbox mode blocks this instruction.
Parameters Description
Drive$ This string value is the drive letter.
See Also
ChDir, CurDir$( )

Sub Main
    ChDrive "B"
    Debug.Print CurDir$() '"B:\"
End Sub