Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I scheduled this action on Task Manager on Server 2008:

Start a program C:\Program Files\Internet Explorer\iexplore.exe" "D:\Inetpub\pathToMy\script.asp"

When the task runs, IE opens quickly and closes, leaving behind a "Do you want to open or save this file? script.asp"

How can I run this classic ASP script?

share|improve this question
I don't know the answer off hand, but my guess is you're going to want to Google command line asp – Kyle Buser Oct 18 '10 at 17:49
thanks for looking, kyle. i provided an answer below--i figured out how to do this by renaming the .asp file to .vbs. – rg89 Oct 18 '10 at 18:09

I solved this problem myself. Here's what to do:

  1. rename your .asp script to .vbs
  2. remove asp script start and end tags
  3. remove all references to the response and request objects
  4. change references to the server object to the wscript object
  5. schedule your task action as the .vbs file


share|improve this answer

I think you'll either want to Google command line asp:

Or run the location from localhost: ie, http://localhost/script.asp

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.