Launching a program after dial-up connection is made

N

Norm Phengvath

Hi,

Does anybody know how to associate or schedule an
application to launch AFTER a dial-up connection is
made? I currently have the dial-up connection in start-
up area and the machine connects to the internet on
boot. However, I have another program in the startup
area that launches too quickly and errors out when it can
not detect an active connection.

I'd be happy with hack that could delay the startup of
the subsequent applications.

Thanks in advance.


Norm
 
T

Torgeir Bakken (MVP)

Norm said:
Does anybody know how to associate or schedule an
application to launch AFTER a dial-up connection is
made? I currently have the dial-up connection in start-
up area and the machine connects to the internet on
boot. However, I have another program in the startup
area that launches too quickly and errors out when it can
not detect an active connection.

I'd be happy with hack that could delay the startup of
the subsequent applications.

Hi

Create a batch file in the startup area that first creates the dial-up
connection (using Rasdial.exe or Rasphone.exe), and then launches the other
application.

If you need a pause between the dial-up connection startup and the other
application, you can use ping.exe for this in the batch file.

Example on sleep approx. 10 seconds (number behind -n is seconds +1):

ping.exe -n 11 localhost >nul
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top