[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'sysutils' (#rtl)

SetCurrentDir

Set the current directory of the application.

Declaration

Source position: diskh.inc line 19

function SetCurrentDir(

  const NewDir: String

):Boolean;

Description

SetCurrentDirsets the current working directory of your program to NewDir. It returns Trueif the function was successfull, Falseotherwise.

Errors

In case of error, Falseis returned.

See also

GetCurrentDir

  

Return the current working directory of the application.