@echo off setlocal set "VICE_EXE=C:\Program Files\GTK3VICE-3.10-win64\bin\x64sc.exe" if not exist "%VICE_EXE%" ( echo VICE x64sc was not found at: echo %VICE_EXE% exit /b 1 ) if not exist "mouse_driver_demo.prg" ( call build.bat if errorlevel 1 exit /b 1 ) "%VICE_EXE%" -autostart "%CD%\mouse_driver_demo.prg" -autostart-warp -mouse -controlport1device 3