[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] DOS port of WGET

From: Doug Kaufman
Subject: Re: [Bug-wget] DOS port of WGET
Date: Sat, 14 Mar 2009 14:38:42 -0700 (PDT)

On Sat, 14 Mar 2009, Micah Cowan wrote:

> >  Dear sirs:
> >  In the documentation of the DOS port of wget
> > I could not find a way to download to a directory
> > or drive outside the directory from which wget
> >  runs (that is, if I use the -P= option with
> > another drive letter, wget will create a sub
> > directory with that letter as name). Is there
> > a way to do this ?
> There is no = after the -P option; if you write "-P=c", wget would save
> to a directory named "=c".
> Drive letters are not directory names. "-P C" asks wget to create a
> subdir named "C". Try "-P C:\".

There are several options for the DOS ports. Both the versions compiled
by me and those compiled by Michael Kostylev are DJGPP ports, so DJGPP
specific addressing is also possible. DJGPP recognizes backslashes and
forward slashes in the address and also recognizes the special /dev/
addressing. So if you wanted the files to go to "C:\mydir\", you could

-P C:\mydir
-P C:/mydir
-P /dev/c/mydir

They all should work. Remember that you should NOT have an actual
directory under root called "dev".

Doug Kaufman
Internet: address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]