Sets the current directory.
Unit
Sysutils
Category
file management routines
function SetCurrentDir(const Dir: string): Boolean;
Description
The SetCurrentDir function sets the current directory. The return value is True
if the current directory was successfully changed, or False if an error occurred.