| iiParentWindow | input | integer | Handle to the parent window |
| icOperation | input | character | Operation to perform: open, print |
| icFile | input | character | Document or executable name |
| icParameters | input | character | Command line parameters to executable in file |
| icDirectory | input | character | Default startup directory |
| iiShowCmd | input | integer | whether shown when opened: 0 hidden, 1 normal, minimized 2, maximized 3, 0 if File is a document |
&message UTF-8: convert to WCHAR & use 'ShellExecuteyW'
run ShellExecuteA (input iiParentWindow,
input icOperation,
input icFile,
input icParameters,
input icDirectory,
input iiShowCmd,
output viInstance).
return viInstance.