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

set CURRENT_SCRIPT_DIR=%~dp0

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

:: start the application
%OTB_CLI_LAUNCHER% @APPLICATION_NAME@ %*