ChDrive Instruction
Syntax ChDrive Drive$
Group File
Description Change the current drive to Drive$.
Pocket PC Not supported.
Parameter Description
Drive$ This string value is the drive letter.
See Also ChDir, CurDir$( ).
Example
'#Language
"WWB-COM"
Sub Main
ChDrive
"B"
Debug.Print CurDir$()
'"B:\"
End Sub