Pieman, this is what Jooel was talking about -
Code:

for $index=0 to ubound($a_shortcuts) ;increase $index value until it reaches the limit of array elements
If Exist ($a_shortcuts[$index]) = 0
$=wshShortcut($a_shortcuts[$index],$a_targets[$index])
EndIf
next



The reason I brought up the '$' is explained by Gargoyle.