DocSpace-buildtools/start/change-service-timeout.bat

16 lines
189 B
Batchfile
Raw Permalink Normal View History

@echo off
PUSHD %~dp0..
call runasadmin.bat "%~dpnx0"
POPD
if %errorlevel% == 0 (
pwsh %~dp0/command.ps1 "increase-service-timeout"
)
echo.
if "%1"=="nopause" goto start
pause
:start