Re: Can you write this script?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



On Oct 1, 12:55 pm, John <J...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Simply put:

Can you write this batch or script:

ping internal system (10.1.1.1)
if available
start myapp
else
exit

I am stuck here and please help.
Thanks.

"John" wrote:
Hi all,

Can you write this batch script that when users are at network, they can run
this websitehttp://url?

Please help.

ping -n 1 10.1.1.1 | find "TTL=" > nul
if not errorlevel 1 "pathspec\myapp.exe"

Tom Lavedas
===========
http://members.cox.net/tglbatch/wsh/

.



Relevant Pages

  • Re: Jeff Burton Admitted It
    ... rolled around and I got in the gas and it stuck." ... loose on him. ... but that was on his exit. ... fastest speeds with the best tire usage. ...
    (rec.autos.sport.nascar)
  • Re: Enforcing CPU Time
    ... Behalf Of McKown, John ... IEFUSI exit, or can it be done at all? ... specified JOB classes and for specified SYSOUT classes. ...
    (bit.listserv.ibm-main)
  • Re: [SLE] closing a window running a bash script
    ... > John R. Sowden wrote: ... Thanks for the clock note. ... I had a UTC v Local Time isue to fix but I didn't ...
    (SuSE)
  • RE: What the did I do wrong?
    ... Behalf Of McKown, John ... CBRUXENT exit is not being driven. ...
    (bit.listserv.ibm-main)
  • Re: We need an issue to argue about!
    ... and may seem chaotic to those stuck in a ... rut... ... John ... >>Now that the code test is on it's way to join the buggy whip, ...
    (rec.radio.amateur.policy)