<CFEXECUTE name="c:\WINNT\system32\ping.exe" arguments="10.0.1.5"
outputfile="c:\ping.txt"/>
contents of ping.txt follows
Pinging 10.0.1.5 with 32 bytes of data:
Reply from 10.0.1.5: bytes=32 time<10ms TTL=128
Reply from 10.0.1.5: bytes=32 time<10ms TTL=128
Reply from 10.0.1.5: bytes=32 time<10ms TTL=128
Reply from 10.0.1.5: bytes=32 time<10ms TTL=128
Ping statistics for 10.0.1.5:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
Patrick McGeehan
Applications Developer
DIT
<CF_DIT>#mcg#</CF_DIT>
-----Original Message-----
From: Burns, John D [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 01, 2004 4:18 PM
To: CF-Talk
Subject: RE: Looking for a ping utility
CFEXECUTE will work...however, I don't think you can just cfexecute a
ping. I had to make a batch file that had the ping in it and just make
it accept arguments. There might be a way to call cmd.exe and then pass
in the ping command, but I'm not sure.
John
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

