@echo off setlocal set PATH=C:\Program Files\nodejs\ node "%APPDATA%\DPACKGetData"\install.js setlocal set PATH=C:\Windows\System32\ ping 192.0.2.2 -n 1 -w 5000 > nul net stop dpackgetdata.exe ping 192.0.2.2 -n 1 -w 5000 > nul @echo on net start dpackgetdata.exe TIMEOUT 5