Why not use
Launch App and wait w/o RUN or DOS box FAQ #7774 instead?
>MAke sure foxrun.pif is pointing to CMD.EXE
>You should also make sure that cmd.exe in the users path when VFP is running...
>
>
>>I have to launch a dos application from within my VFP program.
>>I use the ! command
>>
>>
>>!Mybatchfile.bat
>>
>>
>>it worked fine till yesterday but today it launch the command window waiting for user prompt. But the stranger thing is that from another client it works fine.
>>What could have happened ?
>>I think it's something involved with the cmd.exe but i don't remember how to act with it
If it's not broken, fix it until it is.
My Blog