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.


This was last published in June 2005

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchEnterpriseLinux

SearchDataCenter

Close