3

Possible Duplicate:
Download a file via HTTP from a script in Windows

I've never done any scripting on Windows but now I need to write a batch file that downloads a file off the Internet (amongst other things). If it was Linux I would use wget.

Is there a built-in executable that will download a file to a given directory? This needs to run on Windows XP.

Cristian
  • 353

2 Answers2

4

There is no builtin. But wget works just fine in batch files.

1

Wget has a Windows version as well. I assume you know how to use it. Besides Wget, there is also cURL (A Windows version is available here, but I haven't used it). You can give it a try.

Sylveon
  • 190
user31894
  • 2,937