The lanman module can do the job for you. It's available from CPAN.
http://www.cpan.org/modules/by-authors/id/J/JH/JHELBERG/
If you prefer to use ADSI, you'd have a look to the book "ADSI Scripting for
System Administration" from Thomas Eck. The examples are in VB, but it's
easy to translate to perl.
Jens
-----Original Message-----
From: Dave Cottle [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 05, 2000 3:37 PM
To: [EMAIL PROTECTED]
Subject: listing open (remote) file handles - win32 module
like the
net file
command does, but from perl (because i want to see the whole filename and
not just bits of it).
at the moment, i run a scheduled task on the server
net file > text
and process it remotely.
any suggestions? i know that there is a service from www.sysinternals.com
that lists file handles, but i would prefer a simple API call as its running
on a server.
i didnt find anything on cpan unfortunately, looking for file handle is a
little like looking for water in the ocean....
--
regards, dave
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin
RE: listing open (remote) file handles - win32 module
Helberg Jens (QI/LBS1-Bue) * Tue, 05 Dec 2000 07:11:33 -0800
- listing open (remote) file handles - win32 mo... Dave Cottle
- RE: listing open (remote) file handles -... Helberg Jens (QI/LBS1-Bue) *
- RE: listing open (remote) file handles -... Dave Roth
- Re: listing open (remote) file handles -... Chuck Lawhorn
