shell( "cmd /k ping www.html.it > c:\ping1.txt" )

e poi leggi il file c:\ping1.txt