So, I have a file called xxxxxx.lnk on my desktop, it's a
shortcut to a dialup network connection, so that when I
double click on it, it connects a VPN dialup connection.
Well, i want to script that connection with a batch file.
I call the shortcut in the batch file like "xxxxxx.lnk -
connect" and that launches and connects the connection,
from a batch file, just like I want.
So, naturally, I also want a disconnect batch script. I
thought I could pass -disconnect to the shortcut, as I
did -connect, but no go. Anyone have any idea how I can
from a batch file send a disconnect command to a dialup
connection?
|