I\'m trying to use a batch file to confirm a network connection using ping. I want to do batch run and then print if the ping was successful or not. The problem is that it a
ping 198.168.57.98 && echo Success || echo failed