open dial in connection via .bat file

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
 
B

Brian Oakes [MSFT]

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.
 

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