Run an ASP page with WSH ? 
Author Message
 Run an ASP page with WSH ?

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.*-*-*.com/

Help would greatly be appreciated. I am very, very new to WSH scripting
so please be gentle.

Thanks

Nicholas



Sat, 14 Jul 2001 03:00:00 GMT  
 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



Sat, 14 Jul 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Unable to run Wsh from Asp page

2. Running WSH from ASP Page - at command

3. Problem Running WSH from ASP Page

4. Running WSH script from ASP page - problem

5. run WShell.Run in ASP page w/o path

6. run WShell.Run in ASP page w/o path

7. Running WSH from ASP

8. how can i run an asp with WSH?

9. Running a WSH vbs from ASP

10. Running WSH Script From ASP

11. Running programs on the server through ASP/WSH

12. WSH Shell.Run and ASP

 

 
Powered by phpBB® Forum Software