Edgar, just to eliminate the macro substitution part of the equation try to run the exe without it. Just RUN /N C:\AEEFNEW\AEEF2AHIN.EXE to see what happens.
>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...
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.