bug-wget
[Top][All Lists]
Advanced

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

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


From: Ángel González
Subject: Re: [Bug-wget] Windows 7 makes wget less intuitive
Date: Wed, 30 Nov 2011 23:24:17 +0100
User-agent: Thunderbird

On 30/11/11 18:31, David H. Lipman wrote:
> 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.
Not really required, you can also call the program with the full path.
It's just "standard" command line behavior.
In Windows, you can run a program:
By providing the full path:
 C:\Myprograms\wget.exe http://example.org

By being in that program folder:
cd C:\Myprograms
wget http://example.org

By having the program folder in the PATH
(it's not really needed to change this each time, the default can be set
in "My Computer" properties)
set PATH=%PATH%;C:\Myprograms
wget http://example.org

Less known, by calling another drive current folder:
cd C:\Myprograms
D:
C:wget.exe http://example.org

On all these cases, the files would be downloaded to the current folder
(which will be listed in the prompt
by default)
Note that in windows you can skip the .exe extension of the program you run.




reply via email to

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