You should be able to do this through Windows Management Instrumentation (WMI) which is a service that you will need to start on 2K and a download for NT (http://www.microsoft.com/scripting/ I think).
This opens up an object oriented interface to doing just about anything you want to Windows. I haven't used it for about 2 years but it should give you what you want. (you should find the information you need on the scripting site above.) HTH Nigel >>> "Postman Pat" <[EMAIL PROTECTED]> 06/11/02 11:59am >>> Greetings, Is there a CPAN module that I can use to set network settings for WinNT/2K such as WINS server, DNS server address, that kind of stuff. I am also looking for a pure perl way of setting the IP address, mask & gw. Currently I am using the command line tool netsh to do this. A pure perl way would be nice. Regards LK -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ITM Business Solutions Unit 4 Nine Trees Trading Estate Morthen Road Rotherham S66 9JG Reception Tel: 01709 703288 Fax: 01709 701549 Help Desk Tel:01709 530424 Fax: 01709 702159 CONFIDENTIALITY NOTICE: This message is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]