Computing.Net > Forums > Programming > how can tell this to my batch

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

how can tell this to my batch

Reply to Message Icon

Name: amlife
Date: October 9, 2008 at 07:31:45 Pacific
OS: 2003
CPU/Ram: 2GB
Product: HP
Comment:

Hello
I'm writing a bit of complex script. trying to tell it now if ping 10.0.0.49 failed.
will go to label and will send out email hopefully through SMTP.



Sponsored Link
Ads by Google

Response Number 1
Name: Judago
Date: October 10, 2008 at 00:18:06 Pacific
Reply:

Check if ping sets an errorlevel for a failed ping, I know it does for me on XP. If it does then you could just add if errorlevel==1 goto label.


0
Reply to Message Icon

Related Posts

See More


batch file help Redirect input to a comma...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: how can tell this to my batch

Can I speed up my Batch script? www.computing.net/answers/programming/can-i-speed-up-my-batch-script/14412.html

Mutiple option button www.computing.net/answers/programming/mutiple-option-button/6681.html

How can I edit this JavaScript??? www.computing.net/answers/programming/how-can-i-edit-this-javascript/8722.html