@echo off call C:\Scripts\wLocal\localENV.bat @REM xxxxxxx echo "%~n0: Start" ping -n 7 -i 7 192.8.1.1 call %TMESSAGE% '"STARTED local %check_computername% "' if "%check_computername%" EQU "SERVER" ( ping -n 7 -i 7 192.8.1.1 call %TMESSAGEH% '" %check_computername% has STARTED "' ) if "%check_computername%" EQU "SERVER2" ( ping -n 7 -i 7 192.8.1.1 call %TMESSAGEH% '" %check_computername% has STARTED "' ) del C:\Packages\Scripts\vOnBoot.bat