Sign in Join
FPDoc Onlineexperiment

ChangeDir procedure

In unit fpMkUnit

Changes current working directory

Declaration

pascal
procedure ChangeDir(const APath: string)

Arguments

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.

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