You could use a service like to shorten the url. I know has an API called /shorten you could call to get a shorter url to
pass through the STRPCCMD. More info here

Also, if most of the URL is static, say all of it but the PDF file name,
you could just register it on So your url could be
shortened to something like

Just some ideas,

Brian May
Project Lead
Management Information Systems
Garan, Incorporated
Starkville, Mississippi

Young i Professionals

Sent by: midrange-l-bounces@xxxxxxxxxxxx
08/28/2009 06:40 AM
Please respond to
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>


Re: STRPCCMD command to open a URL from Client Access Session

Hi Folks, I can't use strpccmd due to the 123 restriction and am asking
for the syntax of runrmtcmd based on this cmd;

Strpccmd pccmd(??C:\Program Files\Internet Explorer\iexplore.exe?

What should the values for CMD, RMTLOCNAME, and RMTUSER be and should MODE
be used or just leave the default?

As always, thanks for the help.


-----Original Message-----
From: Jeff Crosby <jlcrosby@xxxxxxxxxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Sent: Thu, Aug 27, 2009 4:30 pm
Subject: Re: STRPCCMD command to open a URL from Client Access Session

Path? We don't need no stinkin' path!
Talk about assumptions. Sheesh. This worked:
STRPCCMD PCCMD('rundll32 url.dll,FileProtocolHandler "c:/Documents and
ettings/jeff.dilgardfoods/my documents/abc.xls"')
Thanks Scott and Brian.
On Thu, Aug 27, 2009 at 4:02 PM, Scott
lement<midrange-l@xxxxxxxxxxxxxxxx> wrote:
Jeff... I've used this with DOC, XLS, PDF... it works for me.
Perhaps you have the wrong pathname?

Jeff Crosby wrote:
I'm dense. The following:

STRPCCMD PCCMD('rundll32 url.dll,FileProtocolHandler

will open our company's home page. But the same statement doesn't
work for a .xls or .doc or .pdf file.
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
20To subscribe, unsubscribe, or change list options,
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives

This thread ...


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

This mailing list archive is Copyright 1997-2020 by 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].