>When calling a batch file from the RUN command within VFP(7), is there a way to capture the %errorlevel% once returning to the calling VFP program?
You can add a line like this to the end of the batch:
echo %errorlevel% >status.txt
You could then just have
lcExitStatus=filetostr("status.txt")
and you'd have it as a string in lcExitStatus.