in reply to Re^2: lwp-request issue.
in thread lwp-request issue.

Bart Indeed is a batch (.cmd) but as I'm using LWP-REQUEST (GET) already tried one get per line but it doesn't work, I tried the following script:
Echo. get -S -d http://www.yahoo.com get -S -d http://www.google.com get -S -d http://www.ciudad.com.ar get -S -d http://www.gmail.com get -S -d http://www.clarin.com get -S -d http://www.claro.com.ar get -S -d http://www.mail.com get -S -d http://www.facebook.com Echo.
But I only get the result of the first one like this:
GET http://www.yahoo.com --> 302 Found GET http://ar.yahoo.com/?p=us --> 200 OK

Replies are listed 'Best First'.
Re^4: lwp-request issue.
by bart (Canon) on Aug 24, 2010 at 10:37 UTC
    Oh, of course (smacks forehead).

    get is a batch file, so you have to call it when used from another batch file, or else it'll just do a "goto" instead. I have no idea what Microsoft was thinking when they designed this, uh, "feature".

    call get -S -d http://www.yahoo.com call get -S -d http://www.google.com rem etc...
      as GET is perl program, forget the shell and write it in perl