@echo off
rem Jakuten training - auto print (Chrome). Close all Chrome windows before running.
set "URL=https://jakuten.loran-sys.com/"
set "C1=%ProgramFiles%\Google\Chrome\Application\chrome.exe"
set "C2=%ProgramFiles(x86)%\Google\Chrome\Application\chrome.exe"
set "C3=%LocalAppData%\Google\Chrome\Application\chrome.exe"
if exist "%C1%" goto c1
if exist "%C2%" goto c2
if exist "%C3%" goto c3
echo Chrome not found. & pause & goto :eof
:c1
start "" "%C1%" --kiosk-printing --new-window "%URL%"
goto :eof
:c2
start "" "%C2%" --kiosk-printing --new-window "%URL%"
goto :eof
:c3
start "" "%C3%" --kiosk-printing --new-window "%URL%"
