otbcli.bat.in 637 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
@echo off
::
:: Autogenerated by OTB installation process
:: DO NOT MODIFY
::

set CURRENT_SCRIPT_DIR=%~dp0

if exist %CURRENT_SCRIPT_DIR%otbApplicationLauncherCommandLine.exe (
  :: Prefer using the launcher inside the script dir
  set OTB_CLI_LAUNCHER=%CURRENT_SCRIPT_DIR%otbApplicationLauncherCommandLine.exe
) else (
  :: Use the one from the PATH
  set OTB_CLI_LAUNCHER=otbApplicationLauncherCommandLine.exe
)

:: works for install tree
if exist %CURRENT_SCRIPT_DIR%../@OTB_INSTALL_APP_DIR@ (
  set ITK_AUTOLOAD_PATH=%CURRENT_SCRIPT_DIR%../@OTB_INSTALL_APP_DIR@;%ITK_AUTOLOAD_PATH%
)

:: start the application
%OTB_CLI_LAUNCHER% %*