ChDir Instruction
Syntax
ChDir Dir$
Group
Description
Changes the current directory to Dir$.
Pocket PC
Not supported.
Sandbox
Sandbox mode blocks this instruction.
Parameters
| Parameters | Description |
|---|---|
| Dir$ | The path and name of the directory. |
Example
Sub Main ChDir "C:\" Debug.Print CurDir$() '"C:\" End Sub
See also