PC Review


Reply
Thread Tools Rate Thread

command line parameters to shortcut to a network connection...

 
 
Kyle
Guest
Posts: n/a
 
      8th Jul 2003
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?
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible to open a network connection from command line? Yuning Feng Windows XP Networking 1 6th Nov 2007 01:02 AM
Create Explorer Shortcut with Command Line Parameters? DaveK Microsoft Windows 2000 Applications 3 4th May 2004 04:00 PM
Re: Starting a Network Connection in XP Pro through the command line Ganchrow Harris Peck Windows XP Networking 1 21st Nov 2003 09:53 PM
Starting a Network Connection in XP Pro through the command line Ganchrow Harris Peck Windows XP Networking 2 6th Nov 2003 08:22 PM
Starting a Network Connection in XP Pro through the command line Ganchrow Harris Peck Windows XP Networking 0 4th Nov 2003 06:36 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:55 PM.