Lorenko,

This is what I have tried in a previous example :

code:
DIM $Array(0)		
DIM $ddl,$ddl1,$bdl1,$bdl2,$scf,$scf2
$z=7
ReDIM $array($z)
CLS
? "Pinging the $Array($z), please wait a moment"
shell '%comspec% /c "ping $Array($z) >> $ping_file"'

The script basically stays the same as in the original example I gave below. The lines come just after the Remarked line of "Vérification des réponses "