I'm trying to download files with wget in a windows batch file using variables in url.
Here's my code example
set gpsweek=2202 set weekday=1 wget http://ftp.aiub.unibe.ch/CODE/COD%gpsweek%%weekday%.EPH_M This doesn't works. But
wget http://ftp.aiub.unibe.ch/CODE/COD22021.EPH_M works. So i guess it's something with the string. I tried to use some " " around the string, but it also doesn't work.
Before wget i used curl and i had no problems with the arguments.
Any ideas what i'm doing wrong?
Thank you in advance. Pat