in reply to Batch web fetch scipt

Your problem is here:

...'http://www.chollonet.com/trucoteca/ +truco.php?idjuego=$id&plataforma=4')

Single quotes! $id is not being interpolated. :)

mitd-Made in the Dark
'My favourite colour appears to be grey.'