>Hi Perry
>
>In case like that I create batch file that calls the command and add PAUSE command at the end so DOS window wouldn't close until you press enter. After that I call batch file from VFP.
>
>>I'm using the process classlib I downloaded from here that has api_apprun in it. The class is working perfectly to run a DOS command from the DEV environment. But running the .EXE from a shortcut, the program opens up a DOS window, but does not run the command.
>>
>>I want the DOS window to not close on exit, so I can see why it's not working. I've tried unchecking the "close on exit" in foxrun.pif, but that didn't work. How can I get the window to not close on exit so I can see what the error is?
>>
>>Thanks,
>>
>>
(On an infant's shirt): Already smarter than Bush