× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



My curiosity has gotten he better of me. What is the purpose of the rundll32 part of the command?

Joe D wrote:
Hi Jerry,

I had similar troubles and it turned out to be an issue with an extra space AFTER FileProtocolHandler. The extra space would cause the program to run for a few seconds then do nothing.

Look at these two sources:
 PGM        PARM(&PKG)

 DCL        VAR(&PKG) TYPE(*CHAR) LEN(18)
 DCL        VAR(&CMD) TYPE(*CHAR) LEN(255)

 STRPCO
 MONMSG     MSGID(IWS4010)

/* TWO spaces after FileProtocolHandler */
 CHGVAR     VAR(&CMD) VALUE('rundll32 +
              url,FileProtocolHandler  +
              http://wwwapps.ups.com/WebTracking/processI+
              nputRequest?&tracknum=' *CAT &PKG)

 STRPCCMD PCCMD(&CMD) PAUSE(*NO)

 ENDPGM

************

 PGM        PARM(&PKG)

 DCL        VAR(&PKG) TYPE(*CHAR) LEN(18)
 DCL        VAR(&CMD) TYPE(*CHAR) LEN(255)

 STRPCO
 MONMSG     MSGID(IWS4010)

/* ONE spaces after FileProtocolHandler */
 CHGVAR     VAR(&CMD) VALUE('rundll32 +
              url,FileProtocolHandler +
              http://wwwapps.ups.com/WebTracking/processI+
              nputRequest?&tracknum=' *CAT &PKG)

 STRPCCMD PCCMD(&CMD) PAUSE(*NO)

 ENDPGM

The version with ONE space works fine. The version with TWO does nothing after a short delay.

Maybe this was your issue?
JD


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.