i am trying to do something like
set var= ping google.com | find "Received = 4"
if [var has something]
then
echo "ping well"
something like that. in unix i can use the ` ` to execute shell command and set the returned value to the variable... can bat script do that? how about the if statement?
thanks.