bug-wget
[Top][All Lists]

## Re: [Bug-wget] Windows 7 makes wget less intuitive

 From: David H. Lipman Subject: Re: [Bug-wget] Windows 7 makes wget less intuitive Date: Wed, 30 Nov 2011 13:58:07 -0500

```From: "Henrik Holst" <address@hidden>

> Ah, having tread the whole thread... I now see that this is when running
> wget from a desktop shortcut?

One would not run it from a shorcut unless you created a script that called
WGET.

Windows doesn't have a default folder per se.  It is up to the application.  An
application may query the Registry for the user's document directory.  However,
this is a
utility and not an application that is compiled for multiple OS' and therefore
is not OS
dependent.

Thus there is no assumption of where downloaded files will reside and and will
depend upon
the utility when it is eecuted and will often default to the location of where
the utility
resides.  Thus when the utility is in the PATH the user can be in any drive and
any folder

Take a Windows BAT or CMD file and you would have...

@echo off
d:
cd "d:\my dir\my folder"
wget { command line }

Or....
You would have to use the command line switch as Micah pointed out.

-P,  --directory-prefix=PREFIX  save files to PREFIX/...

--
Dave
Multi-AV Scanning Tool - http://multi-av.thespykiller.co.uk