Ping with Filemaker pro 11
I'm using filemaker pro 11,
I'm making an application that must send a Ping command (on windows) to some IP insert into my db. If the ping works correctly a square become green, if it doesn't the square becomes red.
To send the IP I use the following command :
Send Event ["avet"; "odoc"; "cmd /c ping " & gIPfield & " > C:/Pingresult.txt"]
how I can see if the ping worked or not?