Problem solve Get help with specific problems with your technologies, process and projects.

iSeries calling an .exe -- revisited

Here's a second possible solution for calling a PC .exe from the iSeries.

In the previous tip about calling a PC .exe from the iSeries, the author stated that he could not get it to work with directories with more than one work, i.e. program files. The solution is to use the same reference to the directory that a DOS batch file would use. "Program Files" would be Progra~1.

PGM
STRPCO PCTA(*YES)
MONMSG MSGID(IWS4010)
STRPCCMD PCCMD ('C:PROGRA~1INTERN~1IEXPLORE.EXE')
ENDPGM

==================================
MORE INFORMATION ON THIS TOPIC
==================================

The Best Web Links: tips, tutorials and more.

Visit the ITKnowledge Exchange and get answers to your developing questions fast.

Ask the Experts yourself: Our application development gurus are waiting to answer your programming questions.


Dig Deeper on iSeries programming commands

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

Close