Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Help creating batch file to open/close a website

Avatar of cdemott33
cdemott33Flag for United States of America asked on
Microsoft IIS Web ServerWindows Server 2003
7 Comments1 Solution9205 ViewsLast Modified:
Hi All -

I've been tasked to come up with a way to execute an asp webpage each morning at 9am.  The page performs some calls to my Database and emails the results to a specific set of users.  

I did some research online and found out that I need to create a "Batch" file and have a "Schedule Task" execute it daily.

I've never written a batch file so my question is this:

How does one create a batch file to

A. Open a browser to a specific website/page thus executing the ASP code that emails the results.
B. Close the browser once the page has completely loaded.

Thanks for your help!
Avatar of Gabriel Clifton
This problem has been solved!
Unlock 1 Answer and 7 Comments.
See Answers