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/
1869674_01_4EW_20090827_1.pdf

Just some ideas,

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

Young i Professionals
http://www.youngiprofessionals.com



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


To
midrange-l@xxxxxxxxxxxx
cc

Subject
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?
http://www.insurance.com/claimsdocs/F/rr/ss/1869674_01_4EW_20090827_1.pdf?)
pause(*no)



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.



Frank






-----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
"www.dilgardfoods.com"')

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
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
20To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.




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-2019 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].