Revision 1369

trunk/scripts/admb/admb.bat (revision 1369)
8 8
if [%1]==[-help] goto HELP
9 9
if [%1]==[--help] goto HELP
10 10

  
11
setlocal EnableExtensions EnableDelayedExpansion
12
if "%ERRORLEVEL%"=="1" (
13
  echo "Error: %COMSPEC% is unable to enable extensions and delayed expansion."
11
VERIFY OTHER 2>nul
12
SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
13
if ERRORLEVEL 1 (
14
  echo "Error[%COMSPEC%]: setlocal is unable to EnableExtensions and EnableDelayedExpansion."
14 15
  goto EOF
15 16
)
16 17

  

Also available in: Unified diff