
Run an ASP page with WSH ?
You don't need WSH.
Use the Win98 (or IE4 on NT) task scheduler. Add a new task and enter a
command line like
C:\PROGRA~1\INTERN~1\IEXPLORE.EXE http://server/VirtualDir/test.asp
(Note: long file names don't work)
You can Stop the scheduled task after 1 minute to close the browser window.
You could use WSH to Automate IE or the Inet Transfer Control but the above
is much simpler.
At first I tried to drag and drop a shortcut from the desktop into the
scheduler window but that would have been too simple!
Regards,
Ian
WSH FAQ http://wsh.glazier.co.nz/frame.htm
Collaborate Today http://collaborate.glazier.co.nz
Quote:
>Dear WSH News Group Readers,
>Having gleamed from the ASP News Group that using a WSH script to
>automatically run an ASP page is exactly what I am
>looking for on our Intranet - I need to run a page, test.asp, on Friday
>evening at 17:00 hrs - each week.
>Can any one help me with the WSH syntax that would accomplish this ?? I
>have read the MS Windows NT Server 4.0 book but have found little in the
>way of help. For example, how to open the Internet Explorer browser and
>get the page http://www.xxxxxxx.ch/xxxxxx/test.asp to run.
>Help would greatly be appreciated. I am very, very new to WSH scripting
>so please be gentle.
>Thanks
>Nicholas