CFanatic

Go Back   CFanatic > Programming > Shell Scripting

Join CFanatic Forum Now

bat script check ping output topic posted under Shell Scripting which is a part of Programming category in CFanatic Forum
Reply
 
Thread Tools Display Modes
  #1  
Old 08-31-2010, 04:07 PM
k2k k2k is offline
 
Join Date: Aug 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
k2k is on a distinguished road
| More
bat script check ping output

i am trying to write a bat script to ping a machine if it is up.

i am trying to do something like this

if "ping xxxMachine | findstr reply" echo "xxxMachine is up"
else echo "xxxMachine is down"
the syntax is definitely wrong, does anyone know if this is doable with bat scripting?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
FTP Script masifahmed Shell Scripting 0 08-28-2010 03:11 AM
Open each file in a directory and check corrupted files Member12 MFC Programming 0 07-08-2010 07:42 AM
How to bypass security check while opening a file? unmeshjoshi Win32 Programming 2 03-18-2010 11:23 PM
how to check internet connection Hystrio MFC Programming 1 07-24-2008 11:58 PM
tristate check box sunil MFC Programming 1 02-26-2008 02:29 AM

 

Advertisement

CFanatic Search
Custom Search

Advertisement

All times are GMT -5. The time now is 02:27 AM.



Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO ©2010, Crawlability, Inc.
Cfanatic.com is a premier member of the IDG TechNetwork. For advertising opportunities contact here
Get Paid for Working on Projects Matching Your Expertise at Go4Expert's Jobs Board