Hi Dragan,
Thanks. I tried the API_AppRun class and it didn't work for me. Not sure why.
This is what I'm using:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q191584and it doesn't support DOS directories (or at least I'm not sure how to pass them).
Hugh
>>Hi Jos,
>>
>>Yeah, I thought about the PIF file methodology. Shortcut files (.LNK) files work the same. I might end up doing it this way for some of the files I call. Not sure yet.
>
>If you run your batches through API_AppRun class (Ed Rauh - look here in downloads), it has a parameter where you tell it in which directory to run. And that directory could be some setting you stored somewhere (like goApp.cDosBatchDirectory or something like that).
Microsoft hears loudest what the VFP community says about Visual FoxPro by looking at the bottom line!
Support the product. Buy the latest version!
Hugh Winters @ WorldData 408-512-1131