Program objects (WPProgram class) support the following codes in addition to the codes for all objects:
$p
executable program file (as specified in the Settings)
$P
parameter list (as specified in the Settings)
$d
working directory (as specified in the Settings)