iSeries calling an .exe -- revisited

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

This Content Component encountered an error

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 first published in June 2005

Dig deeper on iSeries programming commands

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchEnterpriseLinux

SearchDataCenter

Close