After M2's comment, I decided to take a closer look into the details of the get command. I ran a search on my system for get.exe and the only thing that came up was clientget.exe, which is part of Visual C++ .Net. I then did a google search and came up with a number of references, but none of them related to retrieving web content. I did a new search on my system and found GET.bat and it turns out to be a Perl script “in disguise”. So it appears that I put a big fat foot in my mouth in my previous post. :-(
Here's the beginning of the script.
==============================================================
@rem = '--*-Perl-*--
@echo off
if "%OS%" == "Windows_NT" goto WinNT
perl -x -S "%0" %1 %2 %3 %4 %5 %6 %7 %8 %9
goto endofperl
:WinNT
perl -x -S %0 %*
if NOT "%COMSPEC%" == "%SystemRoot%\system32\cmd.exe" goto endofperl
if %errorlevel% == 9009 echo You do not have Perl in your PATH.
if errorlevel 1 goto script_failed_so_exit_with_non_zero_val 2>nul
goto endofperl
@rem ';
#!/usr/bin/perl -w
#line 15
# $Id: lwp-request,v 2.6 2003/10/26 14:39:18 gisle Exp $
#
Then there's a bunch of POD (Plain Old Document) info (manual on the command's usage) and then the rest is Perl code.
$progname = $0;
$progname =~ s,.*[\\/],,; # use basename only
$progname =~ s/\.\w*$//; # strip extension, if any
$VERSION = sprintf("%d.%02d", q$Revision: 2.6 $ =~ /(\d+)\.(\d+)/);
require LWP;
require LWP::Debug;
use URI;
use URI::Heuristic qw(uf_uri);
use HTTP::Status qw(status_message);
use HTTP::Date qw(time2str str2time);
etc
etc
================================
I'm assuming that this is the same command that carbide20 is referring to and if that's true, then it would be more efficient to use a full Perl script instead of the batch file. Part of the problem with using multiple get commands in a batch file is that it needs to load the Perl interpretor for each call which increases overhead. There are a number of ways to retrieve the web files using a Perl script in an efficient manor; here's one possible approach.
#!C:/perl
use warnings;
use strict;
use LWP::Simple;
my %calander = (
'holidays.ics' => "http://ical.mac.com/ical/US32Holidays.ics",
'movies.ics' => "http://ical.mac.com/ical/Movies.ics",
'dvds.ics' => "http://ical.mac.com/ical/DVDs.ics",
);
foreach my $ics (keys %calander) {
getstore($calander{$ics}, $ics);
}