It fails too
same error ...
>Edgar, have you tried this:
>
>
>cProgram = ALLTRIM(notcr.Program)
>RUN /N &cProgram
>
>
>>A table contains list of programs to execute under certain conditions.
>>After determining the appropriate program to run, I do so via a macro ...
>>
>>...
>> cProgramSwitch= ALLTRIM(notcr.Program)
>>...
>> cRunScript= "Run /n "+ cProgramSwitch
>> &cRunScript
>>
>>This works for EXE or BAT ,,, until now.
>>I've created an VFP EXE that when called, causes the caller program to crash with message RUN|! COMMAND FAILED.
>>
>>?What causes the failure - There are no extra spaces and I've renamed the EXE to 8.3 format without success...
Edgar L. Bolton, B.S. B.B.A.