playwright/manage-automation.bat
2025-03-10 18:16:23 +08:00

15 lines
321 B
Batchfile

@echo off
chcp 65001 > nul
echo Starting Task Manager...
net session >nul 2>&1
if %errorLevel% == 0 (
powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0manage-task-new.ps1"
) else (
echo Run as Administrator required
echo Right-click and select "Run as Administrator"
pause
exit /b 1
)
exit