Scripting question on Win2K Server

M

Melon Head

I need to create a script for a Win2k Server machine that will do the
following:

1) Activate on a set time (Figure I can use the scheduler for this one)
2) Check a webpage, which sets a cookie (so I need to open IE to a specific
address that will have a cookie ready)
3) Closes the Webpage (Code to close the IE window)
4) Checks the contents of the Cookie and uses an If than statement

The statement would be along the lines of

IF string="fine" THAN terminate / close window
IF string="connect" THAN run program / close window

Does anyone have any suggestions on the best way of approaching this? I
know it is a little out of place but I figure that the Batch process of
Win2k should be able to handle this problem, otherwise I'll need to install
a Pearl engine to have the batch file run a Pearl Script and I would like to
install as little as possible on the system.
 
M

Mark-Allen

Melon Head,

You might also want to post this to the scripting forums up here. They've got some good people who do this sleeping.

--
Mark-Allen Perry
ALPHA Systems, Switzerland
mark-allen AT mvps DOT org

I need to create a script for a Win2k Server machine that will do the
following:

1) Activate on a set time (Figure I can use the scheduler for this one)
2) Check a webpage, which sets a cookie (so I need to open IE to a specific
address that will have a cookie ready)
3) Closes the Webpage (Code to close the IE window)
4) Checks the contents of the Cookie and uses an If than statement

The statement would be along the lines of

IF string="fine" THAN terminate / close window
IF string="connect" THAN run program / close window

Does anyone have any suggestions on the best way of approaching this? I
know it is a little out of place but I figure that the Batch process of
Win2k should be able to handle this problem, otherwise I'll need to install
a Pearl engine to have the batch file run a Pearl Script and I would like to
install as little as possible on the system.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top