Syntax 

ChDrive Drive$


Group 

File 


Description 

Change the current drive to Drive$


Parameters

Description

Drive$ 

This string value is the drive letter. 


See Also 

ChDir, CurDir$( )


Example

Sub Main

    ChDrive "B"

    Debug.Print CurDir$() '"B:\"

End Sub