blob: 5d286a969b616237f4c0a424b4d40eb1b2359544 [file] [log] [blame]
:sourceEnvFile
set ENV_FILE=%1
shift
if not defined ENV_FILE (
set EXCEPTION=sourceEnvFile requires a parameter of the file to source
exit /b 1
)
call %ENV_FILE%
if errorlevel 1 (
set EXCEPTION=Please append 'exit /b 0' to the end of '%ENV_FILE%'
exit /b 1
)
exit /b 0