Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Calling URL From CmdPrompt

0 views
Skip to first unread message

Sharon

unread,
Apr 11, 2003, 12:45:23 PM4/11/03
to
Need to call a script URL with parameters.
[in hopes of automating (should not be a problem) as part
of a larger picture.]

Are there commands to execute a call like this?
nonworking example:
http://www.blah.com/upload.pl?file=C:\up.txt&login=myname

What would be the commands to execute/run something like
this? If something gets returned or doesn't, that's ok.

Ideas? Thx!!

Marty List

unread,
Apr 11, 2003, 1:58:01 PM4/11/03
to

The START command (see "start /?")

Start "" "http://www.blah.com/upload.pl?file=C:\up.txt&login=myname"


"Sharon" <bea...@llnl.gov> wrote in message
news:039901c30049$bf24f9f0$3001...@phx.gbl...

Sharon

unread,
Apr 11, 2003, 3:13:24 PM4/11/03
to
Quick, probably silly, question...

If I set up the start command (thank you for that!) with
the AT scheduler, will it operate just like it does when I
do it manually, on a running server with no one logged in
(that would be the "state" of the server when these
scripts run at night)

Sharon

>.
>

Marty List

unread,
Apr 11, 2003, 3:51:42 PM4/11/03
to

On WinNT/Win2000, the START command is internal to CMD.EXE, there is no
start.exe. So you would need to schedule it like this:

Cmd.exe /K Start ""
"http://www.blah.com/upload.pl?file=C:\up.txt&login=myname"

However, keep in mind that what you are doing is launching the default web
browser (usually Internet Explorer), and it will not exit when the perl
script is complete. So after this scheduled task runs a few times you may
have multiple instances of IExplore.exe running on this machine.


"Sharon" <bea...@llnl.gov> wrote in message

news:009101c3005e$6c84bc70$a601...@phx.gbl...

0 new messages