Jonathan DeGumbia wrote:
 
> I'm trying to use the --directory-prefix=prefix option for wget on a
> Windows system.  My prefix has spaces in the path directories.  Wget
> appears to terminate the path at the first space encountered.   In other
> words if my prefix is: c:/my prefix/   then wget copies files to c:/my/ .
>
> Is there a work-around for this?

wget is not terminating the path at the command line delimiter, Windows is.
In the same way that you have to enter:
    dir "c:\my prefix"
to list the contents of the directory, you have to enter:
    wget --directory-prefix="c:/my prefix"
or the command processor will split the directory path at the space before
passing it to wget.

Tony


Reply via email to