Jump to content

baxta24

Member
  • Posts

    6
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Georgia

About baxta24

Profile Information

  • OS
    XP Pro x64

baxta24's Achievements

0

Reputation

  1. thank you i will test it
  2. this is content of .bat file, first: and second .bat file is I might be need both in different situation
  3. Thank you, very nice code, it wants little improvement, could you do such thing? after it receives 10 unsuccessful PING to take another action , I want it to run a .bat file and could successful PINGs continue forever?
  4. It would be fairly trivial to write a quick vscript that does precisely this and more. It would take like 5 minutes. Or we could even write even a C# app using the Ping class from the System.Net.NetworkInformation namespace in not much longer (but that can very easily become a significant undertaking as you add features). But why bother when there's already dozens of such things all over the internet available for free such as FREEping and peermonitor (Google will find plenty more). There likely several open source apps to do that too. It's trivial to write, but why reinvent the wheel when there's plenty of existing apps for this? Thank you for your attention CoffeeFiend, This programs is very nice but I had explained very badly, OK I have .bat file witch kills my VPN client and runs again, and I want to execute this .bat file when my internal host, witch I connect to threw VPN is unreachable, I want code witch pings and runs .bat file after it receives 10 "timeouts" or "unreachable" or maybe after 10 - 15 seconds when it realizes that host is unreachable.
  5. thank you very much Gunsmokingman for your reply but I want code witch continuously pings host, and when it receives "Request timed out" or "Destination host unreachable" takes some action, runs .bat file or some other script witch, for example, plays alarm.
  6. Hi can anyone help me I want some simple .vbs script (or something else) witch continuously pings some host and if that host went down (not responding during 10 seconds or 5 timeout) it runs some .bat file (witch takes another action). thank you in advance
×
×
  • Create New...