Revision 1356 trunk/scripts/admb/admb.bat

admb.bat (revision 1356)
1 1
@echo off
2
@REM 
3
@REM  Copyright 2013 (c) ADMB Foundation
4
@REM 
2 5

  
3 6
setlocal EnableExtensions EnableDelayedExpansion
4 7

  
......
13 16
  echo "Error: Unable to unset ADMB_HOME=!ADMB_HOME!."
14 17
  goto EOF
15 18
)
16
for %%a in (%0.bat) do (
19
for %%a in (%0) do (
17 20
  set HAS_PATH=%%~$PATH:a
18 21
  if defined HAS_PATH (
19 22
    set ADMB_PATH="%%~dp$PATH:a"

Also available in: Unified diff