Files
pxe-server/scripts/diagnostics/Capture-MclCache.cmd

11 lines
416 B
Batchfile

@echo off
rem Double-click after a Media Creator Lite run finishes.
rem Asks pro or ltsc, then runs Capture-MclCache.ps1 from this folder.
setlocal
set "LABEL=%~1"
if "%LABEL%"=="" set /p "LABEL=Which MCL run just finished? Type pro or ltsc and press Enter: "
if "%LABEL%"=="" set "LABEL=run"
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%~dp0Capture-MclCache.ps1" -Label "%LABEL%"
echo.
pause