ChDir Instruction

Syntax
ChDir Dir$
Group
File
Description
Change the current directory to Dir$.
Pocket PC
Not supported.
Sandbox
Sandbox mode blocks this instruction.
Parameters Description
Dir$ This string value is the path and name of the directory.
See Also
ChDrive, CurDir$( )

Sub Main
    ChDir "C:\"
    Debug.Print CurDir$() '"C:\"
End Sub