>>>I can double click on an OSF file which will lauch dialer and run script. When I try to run this command from VFP6.0 sp6 I get a RUN command failed message. Anyone running PCAnywhere scripts from VFP? How? I found nothing either Symantec or M$ lack of kb.
>>
>>You need to use the Win32 API ShellExecute() to launch a document; RUN won't. There's an implementation in the FFC. Alternatives include coding the API call yourself, or using the Shell.Application automation object's Open method.
>
>
>Actually for running file transfer scripts in pcAnywhere you :
>
>RUN c:\program files\pcAnywhere\AWREM32.exe YourScriptFile.osf
>
Explicitly launching the app works; the idea was that if you can double-click on it from Explorer, there's a server already registered on the system, and you can use ShellExecute() to exploit that rather than having to know where the app is installed.