Syntax
procedure ChDir(const Directory: string);
Description
The
ChDir
procedure changes the working directory and
drive to the path specified in the Directory
argument. If ChDir
cannot set the directory for
any reason, it reports an I/O error, using the error code returned by
Windows. ChDir
is not a real procedure.
See Also
GetDir Function, IOResult Function, MkDir Procedure, RmDir Procedure, $I Compiler Directive, $IOChecks Compiler Directive |