http://www.perlmonks.org?node_id=1224877


in reply to Re: Identifying Windows file share names
in thread Identifying Windows file share names

does it?
  • Comment on Re^2: Identifying Windows file share names

Replies are listed 'Best First'.
Re^3: Identifying Windows file share names
by Lotus1 (Vicar) on Oct 29, 2018 at 20:32 UTC

    I probably should have asked the OP to specify if they wanted to get the drive letters for mapped drives. That's how I interpreted the phrase "top level directories". What is your assumption of what the OP meant?

      sounds to me like op has \\server1, \\server2 ... \\serverN and wants \\server1\share1, \\server1\share2 ... \\server1\shareN ... \\serverN\shareN