on Wed, 15 May 2002 13:57:49 GMT, [EMAIL PROTECTED]
(Nikola Janceski) wrote: 

>> I don't know how to explain my problem, but I will try my best.

That's a strange way to start a question, especially when an 
excellent explanation follows :-)

>> What I want:
>>      I want to be able to get the list of computers and the
>>      associated 
>> comment, and store it into a hash for use later.

In the Win32::NetAdmin module there is a function

    GetServers(server, domain, flags, serverRef)

    Gets an array of server names or an hash with the server names
    and the comments as seen in the Network Neighborhood or the 
    server manager. For flags, see SV_TYPE_* constants. 

which does exactly what you want. This module is included with the 
standard ActivePerl <www.activestate.com> distribution.

If Win2K administration is going to be part of your life, you may 
also want to check out Dave Roth's "Win32 Perl Programming: The 
Standard Extensions (Second Edition)" at 

    <http://www.roth.net/books/extensions2/>

-- 
felix


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to