When specifying the command line for the called tool, meta parameters can be used. Meta parameters are variables and and they are replaced by their contents before passing the command line to the tool.
$DIR('d:\data\myfile.pas')
|
would return d:\data\.
$DRIVE('d:\data\myfile.pas')
|
would return d:.
$EXT('d:\data\myfile.pas')
|
would return .pas.
$NAME('d:\data\myfile.pas')
|
would return my le.
$NAMEEXT('d:\data\myfile.pas')
|
would return my le.pas.
If a (optional) lename argument is present, $PROMPT() will load a dialog description from the lename argument, e.g.
$PROMPT(cvsco.tdf)
|
would parse the le cvsco.tdf, construct a dialog with it and display it. After the dialog closed, the information entered by the user is used to construct the tool command line.
See section 6.10.7, page 259 for more information on how to create a dialog description.