Computing.Net > Forums > Disk Operating System > Batch file dial up

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Batch file dial up

Reply to Message Icon

Name: Joe
Date: January 25, 2001 at 18:51:36 Pacific
Comment:

The problem: I have a mail program which will not use the dial up connection. I have to first use shortcut for connection, then start program. Is there anyway to set this in a batch file, to connect to internet thru dial up, then load the mail program. Not a big problem, but need to check several times a day. Any help is appreciated



Sponsored Link
Ads by Google

Response Number 1
Name: Person
Date: January 25, 2001 at 21:01:06 Pacific
Reply:

This seems to work alright for me:
First make a shorcut to a dial-up connection by right clicking it and selecting "Create Shortcut". Name the shortcut something like "Dial-up" and put it in the same directory as the batch file your about to write. The batch file should have this in it:
@ECHO OFF
START DIAL-UP.LNK
START (Your email program)
I hope this works for you.


0

Response Number 2
Name: DrScriptt (Grant)
Date: January 26, 2001 at 17:29:27 Pacific
Reply:

I woudl change the secound line to read START /W Dial-Up.Lnk so you will be connected to the INet before running the email program.


0

Response Number 3
Name: Dana Hunter
Date: April 4, 2001 at 01:07:54 Pacific
Reply:

If the e-mail program can detect when it's online. You may be able to use a batch to call the ISP. This line should be in batch file.
echo atdt (*70,ph# of isp)> Com# com#


0

Response Number 4
Name: Dana Hunter
Date: April 4, 2001 at 01:09:10 Pacific
Reply:

If the e-mail program can detect when it's online. You may be able to use a batch to call the ISP. This line should be in batch file.
echo atdt (*70,ph# of isp)> Com# - whatever the com port the modem is on.
when done run a hang up bat.
echo ath0 > com#


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Won't detect modem sb128



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: Batch file dial up

BATCH FILE TO LAUNCH DIAL-UP CONNECTION www.computing.net/answers/dos/batch-file-to-launch-dialup-connection/9095.html

How do u make a batch file that runs whenever the computer boots up www.computing.net/answers/dos/how-do-u-make-a-batch-file-that-runs-whenever-the-computer-boots-up/3744.html

dos launching a dial up connection www.computing.net/answers/dos/dos-launching-a-dial-up-connection/10448.html