| @echo off | |
| setlocal | |
| rem Absolute path of this .bat's directory (trailing backslash) | |
| set "DIR=%~dp0" | |
| rem Expected executables | |
| set "PY=%DIR%runtime\python.exe" | |
| set "SCRIPT=%DIR%myInferFast.py" | |
| if not exist "%PY%" ( | |
| echo [ERROR] Missing: "%PY%" | |
| goto :end | |
| ) | |
| if not exist "%SCRIPT%" ( | |
| echo [ERROR] Missing: "%SCRIPT%" | |
| goto :end | |
| ) | |
| "%PY%" "%SCRIPT%" | |
| :end | |