command files and networking

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



OK, so this question is probably answered elsewhere. Normally I think
I'd be able to solve it with the wealth of publicly available
information out there, but the difficulty here seems to be that there's
no way to search for this information efficiently without bringing up
tons of nonrelavent results.

So. The problem.
I'm trying to create a cmd file that launches on boot on my laptop,
which performs a series of commands that are location- (i.e. network-)
dependant. So when I'm at work, it connects to the office VPN (req'd
for wireless connectivity), then maps a number of work-related network
drives and and sets my homepage. When I'm at home it skips vpn
(automatically on wireless), connects to a number of network drives
provided by my little personal server, and sets my homepage.

The only thing I can't seem to do with this thing is launch the VPN.
I'm running XP pro SP2. The VPN is a pseudo-dialup connection in
Network connections. The trouble is, I don't know how to specify that
location in DOS ... in fact I'm rather guessing it might not be
possible. Creating a shortcut there and examining its properties just
gives me a huge text string that looks like a registry key from the
CLSID folder.

So I'm looking for anyone's thoughts. I would really like to be able
to launch a Windows XP network connection from a cmd file.

.



Relevant Pages

  • Re: command files and networking
    ... it connects to the office VPN (req'd ... > The only thing I can't seem to do with this thing is launch the VPN. ... > Network connections. ... You could create a shortcut of your VPN icon on the desktop, ...
    (microsoft.public.windowsxp.general)
  • Re: VPN remote client not getting IP address
    ... Add a address pool here for VPN clients. ... we need to reinstall TCP/IP stack on SBS: ... VPN remote client not getting IP address ... This was done in the network connections and then we ran the CECIW. ...
    (microsoft.public.windows.server.sbs)
  • Re: VPN remote client not getting IP address
    ... The client had VPN access at this point, they ran out of ADSL internet ... When their bandwidth reset we unplugged our ADSL modem router and plugged ... This was done in the network connections and then we ran the CECIW. ... Our problem still remained and no VPN has been achieved since. ...
    (microsoft.public.windows.server.sbs)
  • citrix connection issue
    ... I have installed Redhat FC3 a week back. ... I am using Citrix ICA metaframe presentation ... I am able to launch the applications when I login as root. ... I login as a regular user, VPN connection is not having any problems, ...
    (comp.os.linux)
  • RE: Windows 2003 SBS Hangs on "Applying computer Settings"
    ... Okay after the first response from Matt, I went to launch network connections ... to confirm my dns settings and I cannot launch anything under control panel. ... > After rebooting a server that has just 5 clients connected to it, ...
    (microsoft.public.windows.server.sbs)