In addition to Yuri's suggestion, Make sure not to include the RUN with the /N parameter if your VFP program needs to wait for the DOS exe to "write" a file.
>I have a VFP 6 app that needs to run a dos command. It fails and I think it's because there is not enough conventional memory available. So, I created a PIF file that names the command to run. For memory I set it to 640 (dropdown selection on the memory page). But, when I edit properties I see that it reverts to Auto. There are several memory selections: Conventional, Initial, EMS, XMS, DPMI, protected mode, etc. Not sure what to set here. VFP help refers to KB Required text box in PIF files but I don't see it, just the dropdowns. I'm running Win 2k Pro.
>
>Any tips out there for maximizing memory available for DOS programs?
>
>Thanks a bunch,
>Allen
Imagination is more important than knowledge