HowTo: execute a file download from Windows command line

Under Linux it is often very comfortable to download files quickly from within the shell by typing wget [some URL], especially if you do that from within a script. Under Windows this is not directly possible since there doesn't exist a wget-like program (at least I didn't find one). I guess if you install cygwin, then it may be possible to use wget again, I'd have to check that. Anyway, if you don't want to install cygwin and you have installed ServicePack2 (Win XP), then there is an application called "BitsAdmin" which allows you do to a similar job. The application usually comes under the Support Tools of the ServicePack 2.
<installLocation>\bitsadmin.exe /transfer <jobName> /download /priority normal <url to file to download> <path where downloaded file should be stored>
So an example could look as follows:
C:\SupportTools\bitsadmin.exe /transfer chromiumUpdate /download /priority normal C:\chromium\
This downloads a zip-file containing the latest Chromium build (What's the difference between Chromium and Chrome?).




Your ad here?