Sign in Join
FPDoc Onlineexperiment

SetCurrentDir function

In unit sysutils

Set the current directory of the application.

Declaration

pascal
function SetCurrentDir(const NewDir: RawByteString): Boolean

Description

SetCurrentDir sets the current working directory of your program to NewDir. It returns True if the function was successful, False otherwise.

Errors

In case of error, False is returned.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.