Mark Dootson writes: > Determine success / failure by the return value of the script - which > I'm fairly sure succeeded in both cases. Ah, thanks. (And apologies for taking so long to following up.) Because the final line of the compilation output was: > > collect2: ld returned 1 exit status I wrongly took that to be the exit status of the compilation as a whole, rather than checking %ERRORLEVEL%. Cheers Smylers -- http://twitter.com/Smylers2Thread Previous