tasklist /FI “IMAGENAME eq nhttp.exe”| find /C “nhttp.exe” > temp.txt
set /p num= < temp.txt
del /F temp.txt
echo %num%
if “%num%” == “0” powershell /c “& {Start-Process powershell -Verb runas -ArgumentList /D/script/restart.psl}”
tasklist /FI “IMAGENAME eq nhttp.exe”| find /C “nhttp.exe” > temp.txt
set /p num= < temp.txt
del /F temp.txt
echo %num%
if “%num%” == “0” powershell /c “& {Start-Process powershell -Verb runas -ArgumentList /D/script/restart.psl}”