@REM Start JS-PDP-1.html with Chrome (or Edge) MAXIMISED and with DEVTOOLS etc.
@REM Mike Hill 09-Mar-2026

@IF EXIST "%ProgramFiles(x86)%\Google\Chrome\Application\chrome.exe"  GOTO Chrome
@IF EXIST "%ProgramFiles(x86)%\Microsoft\Edge\Application\msedge.exe" GOTO Edge
@ECHO Could not find CHROME or EDGE . . .
@ECHO . . . "%ProgramFiles(x86)%\Google\Chrome\Application\chrome.exe" . . .
@ECHO . . . "%ProgramFiles(x86)%\Microsoft\Edge\Application\msedge.exe" . . .
@GOTO Failed

:Chrome
@START "" /D "%~d0%~p0" /B "%ProgramFiles(x86)%\Google\Chrome\Application\chrome.exe" --start-maximized --start-fullscreen --incognito --auto-open-devtools-for-tabs "file:///%~d0%~p0JS-PDP-1.html"
@IF NOT ERRORLEVEL 1 GOTO Done
@ECHO Failed to START "%~d0%~p0JS-PDP-1.html" with . . .
@ECHO . . . "%ProgramFiles(x86)%\Google\Chrome\Application\chrome.exe"
@GOTO Failed

:Edge
@START "" /D "%~d0%~p0" /B "%ProgramFiles(x86)%\Microsoft\Edge\Application\msedge.exe" --start-maximized --start-fullscreen --incognito --auto-open-devtools-for-tabs "file:///%~d0%~p0JS-PDP-1.html"
@IF NOT ERRORLEVEL 1 GOTO Done
@ECHO Failed to START "%~d0%~p0JS-PDP-1.html" with . . .
@ECHO . . . "%ProgramFiles(x86)%\Google\Chrome\Application\chrome.exe"
@GOTO Failed

:Failed
@TITLE Error starting JS-PDP-1
@PAUSE

:Done
REM END-OF-FILE
