Skip to content

ChangeDir

Changes current working directory

Declaration

Source position: fpmkunit.pp line 1721

procedure ChangeDir(const APath: string);

Arguments

Name Description
APath Directory path to change to

Description

ChangeDir changes the current working directory to the specified path and handles errors appropriately. This procedure provides controlled directory navigation during build operations.

The procedure validates the target directory exists and is accessible before changing the working directory.