Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ECHO OFF
- IF NOT EXIST "C:\Program Files\Procare\Client\CheckInNet.exe" (
- echo Procare checkin client is not installed. Closing in 120 seconds...
- timeout /T 120
- ) ELSE (
- :loop
- echo -------------
- echo Checking if procare should be started. Checking if network is available...
- :ping
- ping google.com -n 1 | find "TTL=" > nul
- IF errorlevel==1 (
- echo Network not available. Will try again...
- timeout /T 30 & goto ping
- )
- echo Network is running. Starting procare checkin...
- "C:\Program Files\Procare\Client\CheckInNet.exe"
- goto loop
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement