network configuring through a script
Scott Hathaway
slhath at home.com
Wed Jun 6 20:11:41 EDT 2001
What you want to do is pretty complex. There are many different registry
keys to change. There is a shareware program ($9) called NetSwitcher
(www.netswitcher.com) that works well.
Scott
"Mats Wichmann" <xyzmats at laplaza.org> wrote in message
news:3b1e3bf3.3670798 at news.laplaza.org...
> On Wed, 06 Jun 2001 11:25:04 GMT, "Francis Meyvis"
> <francis.meyvis at sonycom.com> wrote:
>
> >Hi,
> >
> >I've W2k with ActiveState Py 2.1 on my notebook. Python provides some
access
> >to COM things.
> >I'd like to have scripts that configure my notebook for networking at
home,
> >at work, ...
> >This requires now going into the dialog for
> >- TCP/IP settings to change the IP address to use DHCP or use a fixed IP
> >address,
> > automatic DNS or fixed DNS server
> >- IE5 properties/connections to setup Dialup or LAN settings.
> >- the IE5 LAN settings allow further automatic settings and proxy server
> >settings.
> >
> >Are these two also possible from within COM?
> >Or should one directly modify the registry?
> >
> >Can someone point me to MSDN documentation on the inners of these
> >configuration dialogs?
> >I look in it but do not find anything usefull (could be that the MSDN I'v
> >access to is already to old).
> >Just some pointer would do ...
>
> There's an easier way.
>
> W2k provides a tool called "netsh" which can change the network
> settings from a shell prompt, and can also dump an existing setting
> into a file for later reuse.
> Mats Wichmann
>
> (Anti-spam stuff: to reply remove the "xyz" from the
> address xyzmats at laplaza.org. Not that it helps much...)
More information about the Python-list
mailing list