A cwd to where? Normally one wants to download into the current directory (particularly if you have placed wget's location in the PATH). If you want it somewhere else, just use the -P option.
-mjc (2011年11月30日 10:31), Henrik Holst wrote: > Could this be solved by having wget do a change to cwd, when running on > windows. Or something like that? > > /henrik holst > Den 30 nov 2011 18:31 skrev "David H. Lipman" <[email protected]>: > >> From: "Paul Wratt" <[email protected]> >> >>> this may have something to do with "working directory" which when an >>> exe is run from a shortcut, uses the exe folder as the default path. >>> Some testing on win7 is needed to clarify this issue, as that "Program >>> Files" path is used for 32bit apps on 64bit installation.. >>> >> If the command is NOT in the PATH then you have to be in the directory >> where the command >> exists and when you run the command it will drop the downloaded files >> there. When the >> command and dependencies are in the PATH then all I have to do is open a >> Command Prompt, >> type "Y:" and run a FQ WGET command and the file(s) ovtained will be in >> the "Y:" drive. I >> dion't think the behaviour is any different for Win64 vs. Win32. >> >> -- >> Dave >> Multi-AV Scanning Tool - http://multi-av.thespykiller.co.uk >> http://www.pctipp.ch/downloads/dl/35905.asp >> >> >> >> >>
