Where on my computer did Wget download this image?

I have discovered if you leave the wget installation in its default location it does save the file in:

C:\Users\<current user>\AppData\Local\VirtualStore\Program Files (x86)\GnuWin32\bin

However when I copied the entire bin folder, including .dll files, onto my desktop and then retried downloading a file from within that folder via command prompt it worked correctly and put the file within the wget folder on my desktop.

Why it works differently depending on location when it's run I do not know but it's a solution to at least put files initially somewhere more accessible.


It sounds like you entered the wget command directly into the Start->Run dialog. If that's the case, you want to do this to move it to your Desktop:

  1. Start->Run, enter cmd, press ENTER.

  2. Check that the file is there: dir lang2.JPG (should output the file details). If you don't see the file listed, run dir to get a full listing of the directory in case you've misspelled it (or wget didn't name it what you expected).

  3. Move it into the Desktop: move lang2.JPG Desktop

This all assumes that the wget command that you ran executed in the same directory that the command window opens in. Step 2 should prove that one way or the other.

If you don't see the file listed in Step 2, you'll need to resort to using Windows Search, or redownload it (open a command window first this time!).


I have opened a command line and tried

wget http://google.com/ -o log.txt

My installation path of wget is

C:\Program Files (x86)\GnuWin32\bin

Both the log file and the index.html from the site were saved to path

%USERPROFILE%\AppData\Local\VirtualStore\Program Files (x86)\GnuWin32\bin

Why is this so?

I suspect that Windows is creating some sort of a virtual environment for running wget or just does not allow saving files into Program Files folder without admin permission and this leads to saving downloaded files into such deep location.