Trying to open a pdf file on a server connected through windx.
A simple command like: OPEN (1)"C:\data\file.pdf" gets an error 12.
It may be trying to open on the local work station...
How do we force it to open on the server?
Not certain what you are asking?
Are you trying to open/create a new PDF file on the server or just trying to open an existing PDF file on the server?
Open and existing file on the server
If we use "SYSTEM_HELP FILE.pdf" will it try to open on the server or on the client.
If the goal is open a PDF file that currently exists on the host server so you can view the contents then when running on WindX, you need to send a copy of the file to the workstation, then you can use SYSTEM_HELP to launch the default PDF viewer.
Now technically if the PDF file on the host is in a location on the server that can be directly accessed using a UNC, then you can just pass the UNC to the SYSTEM_HELP directive.
I was trying to avoid copying it to the local drive... But i think this will work best.
Thanks