OK, I don't know what could be wrong, but that (STRPCCMD PCCMD('rundll32
url,FileProtocolHandler
http://192.168.0.3/whatever/stitch.pdf')) doesn't work either. It does
start the browser, but then I get the 'Internet Explorer can not display the
webpage' window. It's not my connection to the web, or the VPN I'm working
on, since I can reach the web and the systems on the VPN.
Best Regards,
Thomas Garvey
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Scott Klement
Sent: Thursday, September 11, 2008 5:27 PM
To: Midrange Systems Technical Discussion
Subject: Re: Any experience with RUNRMTCMD?
Hi Thomas,
Nope. On my system, unless the IFS is mapped as a drive to the PC, I
get the DOS box with the message 'Access denied'.
I've seen this happen when the userid/password on the PC doesn't match the
userid/password on the i.
If Windows tries to access \\192.168.0.3\root\pdf\stitch.pdf and the
user/password doesn't match, it simply fails with access denied.
However, if Windows tries to access \\192.168.0.3\root (just the computer &
share name) and the userid/password doesn't match, it'll bring up a box
prompting the user for the userid/password.
If this sounds like the same scenario, you might try doing a "net use"
command prior to accessing the PDF. something like
net use \\192.168.0.3\root bigboy /USER:klemscot
This associates the userid=klemscot, password=bigboy with the
\\192.168.0.3\root share on the network. After that, when you try to access
\\192.168.0.3\root\pdf\stitch.pdf, it should work.
However... I have to tell you that I positively HATE the way Windows
Networking works. IT's too complicated. It has too many weird quirks (like
this one). If at all possible, I suggest accessing the PDF via another
prototcol, such as http. HTTP is a great protocol for this sort of thing.
In that case, you could use
STRPCCMD PCCMD('rundll32 url,FileProtocolHandler
http://192.168.0.3/whatever/stitch.pdf')
That would work a lot better, in my experience.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To 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.
As an Amazon Associate we earn from qualifying purchases.