@echo off
title Demand Planning Demo
cd /d "%~dp0"

REM Try the Windows Python launcher first (most reliable on a fresh Windows),
REM then fall back to plain "python".
where py >nul 2>nul && (py -3 launcher.py & goto :END)
where python >nul 2>nul && (python launcher.py & goto :END)

echo.
echo [ERROR] Python is not installed or not on PATH.
echo Install Python 3.12 from
echo   https://www.python.org/downloads/release/python-3120/
echo Tick "Add Python to PATH" during install, then run this file again.
echo.
pause

:END
pause
