>>>RUN/N is supposed to be for Windows programs, not DOS programs. If you expect a file to be created, I would setup a timer and periodically check for the file.
>>
>>a "SLEEP" function would be nice!
>
>
>You can make an API call to do that. I have the code around here somewhere, but I'll bet someone will post the code before I can dig it up.
Sleep is posted in the Windows API section here on UT, and API_APPRUN has the ability to wait on a WinApp to terminate before returning control to VFP. API_APPRUN is downloadable from the Files section.