diff --git a/setenv.bat.dist b/setenv.bat.dist index e2614e305..7f704f8cc 100644 --- a/setenv.bat.dist +++ b/setenv.bat.dist @@ -1,3 +1,8 @@ +REM @echo off SET ARC_HOME=E:\dev\arcanist\arcanist -call arc.bat > nul 2>&1 -if %ERRORLEVEL%==9009 SET PATH=%PATH%;%ARC_HOME%\bin \ No newline at end of file +CMD /C call arc.bat > nul 2>&1 +if ERRORLEVEL 1 GOTO path +GOTO end +:path +SET PATH=%PATH%;%ARC_HOME%\bin +:end \ No newline at end of file