1 2 3 4 5 6 7 8 9 10 11 12 13
set | findstr VCINSTALLDIR if %errorlevel% EQU 1 goto vcerror cd util nmake -f ipmi_sample.mak all cd .. goto done :vcerror echo Need to first run vcvars.bat :done