A pre-built binary 32-bit version of wget for Windows (currently version 1.11.4-1) can be found on SourceForge at:
http://gnuwin32.sourceforge.net/packages/wget.htm
You have the choice of downloading the wget package as a setup program or a zip file. As described on the SourceForge download page, here is the difference:
If you download the Setup program of the package, any requirements
for running applications, such as dynamic link libraries (DLL's) from
the dependencies as listed below under Requirements, are already
included. If you download the package as Zip files, then you must
download and install the dependencies zip file yourself. Developer
files (header files and libraries) from other packages are however not
included; so if you wish to develop your own applications, you must
separately install the required packages.
I chose to install wget with the objective for checking for broken links. Here is a bat file I created to drive wget to do so:
@echo off
setlocal
set Path=C:\Program Files (x86)\GnuWin32\bin;%Path%
set TARGET=http://your.website.com/here.html
: http://www.gnu.org/software/wget/manual/wget.html
:
: -e --execute
: -o --output-file
: -p --page-requisites
: -r --recursive
: --spider
: -w --wait
wget --spider -o wget.log -e robots=off --wait 1 -r -p %TARGET%
endlocal
I installed wget via its setup program on Windows 7. As you can see in the PATH
variable in the bat file, the default installation location for wget.exe is:
C:\Program Files (x86)\GnuWin32\bin