@echo off setlocal cd /d "%~dp0" set "CONDA_ENV=py311" call conda activate "%CONDA_ENV%" if errorlevel 1 ( echo Failed to activate conda environment: %CONDA_ENV% echo Please check that conda is initialized and the environment exists. pause exit /b 1 ) python -m gripper_control_02.visualizer %* set EXIT_CODE=%ERRORLEVEL% if not "%EXIT_CODE%"=="0" ( echo. echo Gripper Demo 02 exited with code %EXIT_CODE%. pause ) exit /b %EXIT_CODE%