fort/deploy/data/delay-start.bat
2024-04-23 15:13:43 +03:00

15 lines
265 B
Batchfile

@rem Delayed start of the Fort Firewall client
@cd "%~dp0"
@echo off
@set SVC_NAME=FortFirewallSvc
@for /l %%i in (0,1,9) do (
timeout /t 1 > NUL
sc query %SVC_NAME% | find /I "RUNNING" > NUL && goto EXIT
)
:EXIT
start FortFirewall.exe %*