open dial in connection via .bat file

  • Thread starter Thread starter Thomas Schwarz
  • Start date Start date
T

Thomas Schwarz

Hello,

can you maybe tell me how open an dial in connection per command line .bat
file

the case is that i have a .bat file which after log-in connects to network
drives with net use
the pc connects to the internet with a 56k dial in modem

when i log on to the pc the network shares should be connected - but when
i´m not online it isn´t possible

so i want the .bat firstly to

open the dial in connection
wait ´till the pc is online
net use ......
after all disconnect the dial in

can you possibly help on my problem

thanks very much

greetings from austria

Thomas
 
You used to be able to use rasdial to accomplish this. But a better solution
is as follows.

When you press control alt delete, there is a check box that says login
using dial up networking. Check this box, then login. This will allow your
dial connection to be established first before your drives are mapped. :)

This assumes you are using normal dun connections.
--

Brian Oakes

This posting is provided "AS IS" with no warranties and confers no rights.
Please reply to the newsgroup so that others may benefit.
 
Back
Top