Programming Reference Manual
ChDir
Syntax
ChDir
Path$
Description
Change the current directory to
Path$
.
Parameter
Description
Path$
This string value is the path and name of the directory.
See Also
ChDrive
,
CurDir$
,
GetSpecialFolder
,
MakeNewDir
.
Example
Sub
Main
ChDir
"C:\"
Debug
.
Print
CurDir
$()
'"C:\"
End
Sub
Home
IDE Overview
Declarations
Data Types
Assignment
Flow Control
Error Handling
Conversion
Variable Info
Constant
Math
Financial
Strings
StringClass
Objects
Time/Date
File
File
ChDir
ChDrive
Close
CurDir
Dir
EOF
FileAttr
FileCopy
FileDateTime
FileLen
FreeFile
Get
GetAttr
Input #
Input$
Kill
Line Input
Loc
Lock
LOF
MkDir
Name
Open
Print
Put
Reset
RmDir
Seek
Seek #
SetAttr
Unlock
Write
User Input
User Dialog
Dialog Functions
Web Form
CCL (web server)
DDE
Settings
Miscellaneous
Operator
Translator