מספר SDK 14:
Running an External Application (WINAPP)
The WINAPP command allows you to run any application (.exe file) and to define parameters for it (e.g., a Priority field). The command must be included in an SQLI step of a Priority procedure and should have the following structure:
EXECUTE WINAPP
The full path in which the external program is located
The -w parameter (optional). This parameter causes WINAPP to wait until the external program is completed before returning to Priority.
The command that runs the application (i.e., the program name, with or without the .exe suffix)
Any desired parameter for the external program
Any Priority parameters that serve as input to the external program.
Strict attention must be paid to the proper punctuation in the command line (see examples below):
Use a comma ( , ) to separate command segments.
Record single quote marks ( ' ) before and after each command segment.
Add a semi-colon ( ; ) at the end of the command line.
Examples:
To run MS-Word: EXECUTE WINAPP 'C:\Program Files\Microsoft Office\Office', 'WINWORD.EXE';
To open the tabula.ini file in Notepad and return to Priority only after Notepad is exited: EXECUTE WINAPP 'C:\Windows', '-w','notepad','tabula.ini';