>If you are trying to run a PRG that is not compiled then you can't do it from an EXE - you have to be in the FOXPRO environment - or run the EXE from the Foxpro Environment. Correct me if I'm wrong.
If you're using at least VFP6/SP3 you can. Note however, that you still can not just run a .PRG from an .EXE in that environment, it must exist as an .FXP. You can do a COMPILE yourprog.PRG to create the .FXP from within your .EXE, and once the .FXP exists, the call to the .PRG will actually execute the .FXP.