Page 1 of 1 1
Topic Options
#121891 - 2004-06-28 05:27 PM Ping a remote client ?
futte Offline
Fresh Scripter

Registered: 2002-07-02
Posts: 49
Loc: Denmark
Hi

Is it possible via kix to ping a remote PC so i can check if's turned on or off ??

Thanks

Top
#121892 - 2004-06-28 05:37 PM Re: Ping a remote client ?
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
Yes.

Check the UDF forum for a number of ready made solutions.

Top
#121893 - 2004-06-28 07:38 PM Re: Ping a remote client ?
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
Code:

shell '%comspec% /c ping -n 1 128.2.0.1 | find "TTL=" > nul'
if not @error
? "128.2.0.1 is alive"
endif


Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Henriques) and 2516 anonymous users online.
Newest Members
fgarcia, Viginette, ManuvdWielNL, Sir_Barrington, batdk82
17889 Registered Users

Generated in 0.167 seconds in which 0.148 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org