From: Morris, C. <ChrisM@SNELLINGCORP.COM> - 2000-08-15 20:01:56
|
> > You wouldn't happen to know if I can read ERRORLEVEL from a > makefile, > would > > you? (I'll find out soon enough, assuming I know what I'm doing...) > > IIRC you should be able to do this. You can also read > ERRORLEVEL as an > environment varaible using %errorlevel%. However, I can only > confirm for > sure that this works in NT/2K I don;t have access to a win9x box. Turns out Borland's make.exe automatically checks errorlevel and halts if it ever doesn't equal 0. Cool. Chris |