@echo off setlocal set "VICE_EXE=C:\Program Files\GTK3VICE-3.10-win64\bin\x64sc.exe" set "D81=%~dp0..\reference\POWERc.d81" if not exist "%VICE_EXE%" ( echo x64sc.exe not found at "%VICE_EXE%" exit /b 1 ) REM Mount POWERc.d81 in drive 8, autostart "shell", then type "ced" at the shell prompt. REM -keybuf is fed after autostart completes; \n = RETURN (\r is typed literally as "r"). "%VICE_EXE%" -8 "%D81%" -autostart "%D81%:shell" -autostart-warp -keybuf "ced\n"