You could use a service like http://bit.ly
to shorten the url. I know
bit.ly has an API called /shorten you could call to get a shorter url to
pass through the STRPCCMD. More info here http://bit.ly/3eI7
Also, if most of the URL is static, say all of it but the PDF file name,
you could just register it on http://tinyurl.com
. So your url could be
shortened to something like http://tinyurl.com/insclms/
Just some ideas,
Management Information Systems
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.
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
Thanks Scott and Brian.
On Thu, Aug 27, 2009 at 4:02 PM, Scott
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