Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 953 Bytes

TPJCustomConsoleApp-CurrentDir.md

File metadata and controls

25 lines (14 loc) · 953 Bytes

CurrentDir property

Project: Console Application Runner Classes

Unit: PJConsoleApp

Classes: TPJCustomConsoleApp, TPJConsoleApp

Applies to: ~>3.0

property CurrentDir: string;

Description

CurrentDir is used to specify the current directory of a console application to be executed by the parameterless version of the Execute method.

If the property is set to the empty string (the default) then the console application is executed with the same current directory as its parent program.

Remarks

If Execute is called with CmdLine and CurrentDir parameters then this property is set to the value of the CurrentDir parameter.

The property is public in TPJConsoleApp and protected in TPJCustomConsoleApp.