Afficher un message
Vieux 01/10/2007, 22h21   #3
Tom Lavedas
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Can you write this script?

On Oct 1, 12:55 pm, John <J...@discussions.microsoft.com> 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 .
> Thanks.
>
> "John" wrote:
> > Hi all,

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

>
> > Please .


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/

  Réponse avec citation
 
Page generated in 0,04511 seconds with 9 queries