On Fri, 2 Feb 2001, Duc-Tri VU wrote:

> Working with wget for DOS I have problems to save my files in a specific
> hard disk and directory.
> 
> When I use on the DOS command line for example :
> 
>       wget -r -P j:/TOTO http://gemplus.com
> 
> it works perfectly.
> But when I put this line in a BAT file, the ":" is interpreted by wget
> as "@3A", then it saves my files in the directory j@3A (and inside this,
> TOTO).
> 
> I tried to put the path within simple and double quotes, but both are
> interpreted by wget as normal character of a name of directory.

If you are using a DJGPP port of wget, such as the one I distribute,
you can use the special DJGPP notation to get around this. Try:
    wget -r -P /dev/j/TOTO http://gemplus.com
The notation /dev/ followed by the drive letter and a foraward slash
should work where unix paths are expected and no special port has been
done for DOS notation. Remember that because of this DJGPP feature,
you can generally not run DJGPP programs in directories actually
called "/dev".
                               Doug
__ 
Doug Kaufman
Internet: [EMAIL PROTECTED]

Reply via email to