2

Is there a built-in command for downloading a file using the command line on Windows? I know I can get cygwin and install wget, but I would like a solution that works on any windows PC.

3

2 Answers 2

3

There's nothing for HTTP downloads on the command line built into Windows. You could script ftp.exe for, well, FTP downloads. You'll need a 3rd party program for HTTP though. No need to go all the way to installing Cygwin though, you can get curl or aria2.

1
  • nothing built-in? well there's BITS; you might need to [grab bitscontrol from MSDN, but it is a Microsoft tool. i wouldn't be sure there isn't a way to script with VBscript or Powershell either (without any additional executable components that is). May 6, 2010 at 22:04
2

Take a look at Wget for Windows, it can do this and a whole lot more. No need for a cygwin installation.

Not the answer you're looking for? Browse other questions tagged .