Jos,
OK - same error from Command Prompt.
When I'm in Windows2000 Start/Run - the app runs without error???????????
>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...
Edgar L. Bolton, B.S. B.B.A.