in reply to accessing another widows machine

Win32::NetResource is indeed the module to use, assuming you are running from a Windows computer. It is included in the base install of ActiveState Perl, so no additional install is necessary.

The following code will list all shared folders on MyHost

use strict; use Win32::NetResource qw(:DEFAULT GetSharedResources GetError); if (GetSharedResources(my $resources, RESOURCETYPE_DISK, { RemoteName => "\\\\MyHost"})) { foreach my $href (@$resources) { print "-----\n"; foreach(keys %$href) { print "$_: $href->{$_}\n"; } } }

HTH
digger