ChDir Instruction

Syntax              ChDir Dir$

Group                File

Description       Change the current directory to Dir$.

Pocket PC         Not supported.

Parameter         Description

Dir$                     This string value is the path and name of the directory.

See Also            ChDrive, CurDir$( ).

Example            '#Language "WWB-COM"
Sub Main
    ChDir "C:\"
    Debug.Print CurDir$() '"C:\"
End Sub