Run a Windows program from APPX
Decide where the program must run. A program on the APPX server sees the server files and printers. A program launched through the Desktop Client sees the workstation.
- For a server program, check the RUN documentation and the Windows series or parallel example below. If the next APPX step needs the output file, wait for the program to finish before reading it.
- For a workstation program, follow the client-side process and file-transfer instructions. A file on the server needs to be transferred before the desktop program can open it.
Invoking Windows Shell Functions
In order to invoke a Windows shell function (such as a batch file or executable) from APPX for Windows, follow these guidelines.RUN in Series or Parallel
When you RUN from APPX/Unix, APPX won't resume running until the shell object called has completed (series). When you RUN from APPX for Windows, the RUN command by default spawns a separate thread and APPX immediately resumes execution (parallel).
Passing Fields or File Names
How to pass fields or file names to an external shell script
Calling Windows API's
How to call Windows API/DLL's
Client-Side Processes & File Transfers
How to run client-side processes, and perform file transfers, from the APPX Java client
External Commands from the Windows Client
How to 'RUN' an external command on a local PC from the Windows client.