You could try like this:
Create a new text file and copy your code inside:
C:wget -i list
Foreach i in #?.lha
C:lha x "$i"
End
Save it to ram:
Do a right clic on its icon and choose "Information"
Tick the script box
In the icon tab, in default tool, replace the textviewer by "C:IconX"
Save your icon information (Click save)
Now if you double click on your script icon, it will run the script and not the textviewer.
It will launch the wget programm first and download the files from your list.
Once the files downloaded, it will look for each lha files and extracts them (i represents the lha file).
Regards,
Petrol.