Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need to run ASP thru IE with TaskScheduler

Status
Not open for further replies.

bastienk

Programmer
Joined
Mar 3, 2004
Messages
326
Location
CA
Hi All

Stuck here, have an asp file that needs to be run. Can't use VBS due to security concerns. How can I use TS to open IE and run a particular file?

Well, I can figure out how to open IE, but how do i give a path to the file?


Bastien

Cat, the other other white meat
 
If you're using the Windows Task Scheduler, this will work assuming Internet Explorer is located in the default location.

In the Task Scheduler setup. Place this in the "Run" field. Use the double quotes around the program file.

"C:\Program Files\Internet Explorer\IEXPLORE.EXE"

No quotes around the url. Just place it one blank space after the program file.

Place this in the Start In field using quotes.

"C:\Program Files\Internet Explorer"

Hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top