Pascal Scripting: SetCurrentDir

Prototype:

function SetCurrentDir(const Dir: string): Boolean;

Description:

Sets the current directory. The return value is True if the current directory was successfully changed, or False if an error occurred.