ECHO OFF IF _%1 == _ GOTO error IF %1 == S GOTO doit IF %1 == M GOTO doit IF %1 == C GOTO doit IF %1 == L GOTO doit IF %1 == H GOTO doit :error ECHO Bad Command Line, Need Model: (S, M, C, L, H) & Debug Flag (D) GOTO done :doit IF _%2 == _D GOTO debug IF _%2 == _d GOTO debug MAKE model=%1 debug= SCRNDOOR GOTO done :debug MAKE model=%1 debug=/Zi SCRNDOOR :done