|
server
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Can you write this script?
Hi all,
Can you write this batch script that when users are at network, they can run this website http://url? Please help. 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. Show quote "John" wrote: > Hi all, > > Can you write this batch script that when users are at network, they can run > this website http://url? > > Please help. On Oct 1, 12:55 pm, John <J***@discussions.microsoft.com> wrote:
Show quote > Simply put: ping -n 1 10.1.1.1 | find "TTL=" > nul> > 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. if not errorlevel 1 "pathspec\myapp.exe" Tom Lavedas =========== http://members.cox.net/tglbatch/wsh/ ping -n 1 10.1.1.1 1>nul 2>&1
if %errorlevel% equ 0 start iexplore http://www.google.com Show quote "John" 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 website http://url? > > > > Please help. |
|||||||||||||||||||||||