Author: rmetzger
Subject: PSEXEC and SC.EXE problem
Posted: 05 April 2013 at 3:22pm
Consider replacing:
sc query HTTP | find "service does not exist" && goto :skip_HTTP
with:
sc query HTTP | find /i "service does not exist"
if NOT ErrorLevel 1 goto skip_HTTP
does this problem still happen?
Ron Metzger
Subject: PSEXEC and SC.EXE problem
Posted: 05 April 2013 at 3:22pm
Consider replacing:
sc query HTTP | find "service does not exist" && goto :skip_HTTP
with:
sc query HTTP | find /i "service does not exist"
if NOT ErrorLevel 1 goto skip_HTTP
does this problem still happen?
Ron Metzger