WatchDirectory Forum
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl
watchDirectory forums >> How to... >> How To: Start Dial Up Networking Using Modem
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl?num=1117167072

Message started by itman2000 on May 27th, 2005 at 5:11am

Title: How To: Start Dial Up Networking Using Modem
Post by itman2000 on May 27th, 2005 at 5:11am
Hello,

I'm trying out this software for my company project and would like to monitor a directory so that when files arrived, it will start DUN and dialled up to the internet.

Can this be done by writing the batch file??


thanks.


Johnny

Title: Re: How To: Start Dial Up Networking Using Modem
Post by Gert on May 27th, 2005 at 5:15am
Hello John,

I believe you can use RASDIAL from inside your .bat file to connect/disconnect:

Code (]
rasdial /?
USAGE:
       rasdial entryname [username [password|*):

] [/DOMAIN:domain]
               [/PHONE:phonenumber] [/CALLBACK:callbacknumber]
               [/PHONEBOOK:phonebookfile] [/PREFIXSUFFIX]

       rasdial [entryname] /DISCONNECT

       rasdial

Command completed successfully.


Gert

WatchDirectory Forum » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2017. All Rights Reserved.