in reply to Identifying Windows file share names
This thread discusses this topic how to list all the drive letters.
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?
PerlMonks, of course - how could you ask?
Games & puzzles
Arts & music
Whichever pays my bills
Results (249 votes). Check out past polls.