Language:
Русский
English
ChDir (procedure)
Changes the current directory.
Declaration
procedure ChDir(S: String);
Target
Windows, Real, Protected
Remarks
With $I-, IOResult returns 0 if the operation was successful; otherwise, it returns a non-zero error code.
The current directory is changed to the path specified by S. If S specifies a drive letter, the current drive is also changed.