code_junkie

Handling nmake errorlevel/return codes

Nov 12th, 2011
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. @echo off
  2. rem Args[x]: nmake arguments
  3. echo.>> %~n0.log
  4. echo %date% %time%>> %~n0.log
  5. echo nmake /NOLOGO %*>> %~n0.log
  6. nmake /NOLOGO %*
  7. echo %errorlevel%>> %~n0.log
Add Comment
Please, Sign In to add comment