@echo off
setlocal
set "PS=%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe"
set "RUN=\\DS-918\chatgpt\ChatGPT-Gouvernance-Projets\_registry\scripts\starter_run_v1.0.ps1"
if "%~1"=="" (
  echo Usage: run_starter.cmd "chemin\starter.txt"
  exit /b 1
)
"%PS%" -NoProfile -ExecutionPolicy Bypass -File "%RUN%" -StarterPath "%~1"
exit /b %ERRORLEVEL%
