How can I use STRPCCMD without the PCO Command Prompt window showing up? It hangs up my application.
The user transfers spool files to their PC via a Client Access File Transfer (DTF) that runs invisibly, but I have to use STRPCCMD to fire it off. Because of STRPCCMD it pops up the PCO session Command Prompt black box window. At unpredicatble times the screen then goes black and appears hung up. But if I hotkey to another session and back (alt-tab) the screen frees up and the application continues. If I can prevent the appearance of the PCO window it will cure the problem. How do I do that? I am releasing the application in 3 days and don’t want this glitch in production, let alone having to document the glitch and how to work around it!
Solution : How can I use STRPCCMD without the PCO Command Prompt window showing up? It hangs up my application.
an option for your situation is, to execute STRPCCMD to run a WINDOWS application rather than DOS command (*.BAT file).
STRPCCMD works totally different when running windows application compared to running a dos application, when it runs a windows appl, it directly call the application (no black box appear), while for dos command, it actually does a COMMAND.COM /C YOUR_COMMAND_HERE
maybe you’d consider to
STRPCCMD cwbtf.exe USER.DTF
I believe your DTF is pre created? make sure that it has “automatically run” option on File->Properties->Startup