System Command

Kenneth Brody kenbrody at spamcop.net
Thu Feb 6 16:53:46 PST 2014


On 2/6/2014 6:27 PM, SmittyUSN1 wrote:
> After trying all day to figure out how to  SYSTEM out to a  "filename.pdf"
> from a record in filePro.....I encountered error CreateProcess() failed
> 2(0x00000002) a few times and I gave up and thought I would ask the
> genius's.

Error 2 == "file not found".

> example:  standing on a record in filePro with the address of the filename
> to be shown,  @keyx,  fp jumps out and lets the user examine the file and
> come back.
>
> destination:   c:\temp\filename.pdf

You can't execute a PDF.  If you want to open the file, use the "start" 
command, as in "start c:\temp\filename.pdf".

-- 
Kenneth Brody


More information about the Filepro-list mailing list