Unit 'fpmkunit' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

ChangeDir

Changes current working directory

Declaration

Source position: fpmkunit.pp line 1697

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.


Documentation generated on: Dec 15 2025