in reply to Identifying Windows file share names

This thread discusses this topic how to list all the drive letters.

  • Comment on Re: Identifying Windows file share names

Replies are listed 'Best First'.
Re^2: Identifying Windows file share names
by Anonymous Monk on Oct 29, 2018 at 20:20 UTC
    does it?

      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