3

I have a list of urls (over 100) of patch files from various sources that I need to download.

I need to create a batch script that will download these files and dump them all into the same directory.

I do not have administrative privileges on the system I need to download to, so it needs to be batch or similer solution.

I would love it if it would echo any errors to the screen and keep rolling on to the next download.

3
  • You've specified the end goal, but you didn't really specify what part you need help with. Are you just looking for someone to write it for you?
    – Safado
    Jun 30, 2011 at 17:34
  • Ryan, sure. Or a link to one that I can hack.
    – MathewC
    Jun 30, 2011 at 17:36
  • Oh, sorry! When I first read it I was thinking "bash" scripting. I'm a noob at batch scripting and wouldn't be of much help. My bad.
    – Safado
    Jun 30, 2011 at 17:42

3 Answers 3

2

http://www.httrack.com/page/2/en/index.html

HTTrack can be run just as a EXE.

It does a great job, and can do everything your looking for.

1
  • This worked, but sadly not on the network I was trying to do it from as the proxy caused issues.
    – MathewC
    Jul 3, 2011 at 2:03
3

These should help:
http://ss64.com/nt/for_cmd.html
http://gnuwin32.sourceforge.net/packages/wget.htm

0

WGET or CURL are good choices for this task. Using CURL to pick up the latest copy of Httrack through your proxy:

curl -x myproxy:8081 -u robw:mysecretpassword --proxy-ntlm http://download.httrack.com/cserv.php3?File=httrack.exe 
2
  • Does curl work on windows?
    – a06e
    Aug 5, 2015 at 20:13
  • Yes - there has been a win32 port available for years. See: curl.haxx.se for a version.
    – RobW
    Aug 5, 2015 at 22:58

You must log in to answer this question.

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