WatchDirectory home page
WatchDirectory Startseite (Deutsche Version)
Site WatchDirectory (Français)
  Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
   
  HomeHelpSearchLoginRegister  
 
Page Index Toggle Pages: 1
How To: Start Dial Up Networking Using Modem (Read 2024 times)
itman2000
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 1
How To: Start Dial Up Networking Using Modem
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
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2238
The Netherlands
Re: How To: Start Dial Up Networking Using Modem
Reply #1 - 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
Back to top
 

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
Page Index Toggle Pages: 1