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.
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.