[Tutor] getUncPath(mappedDrive)
Tim Golden
mail at timgolden.me.uk
Thu Jan 30 12:49:24 CET 2014
On 30/01/2014 11:39, Tim Golden wrote:
> On 29/01/2014 21:58, danz wrote:
>> Tim.
>>
>> I came across your code while searching for a similar need. Your post was
>> the best I could find on the subject. Perhaps more importantly, you showed
>> me that going down the ctypes rabbit hole can be less intimidating than I
>> assumed. Thanks!
>
> [The OP appears to be replying via nabble to a tutor thread from about
> 18 months ago. I was the person doing most of the talking hence the
> reply to me]
Just by way of an alternative, the code outlined here:
http://timgolden.me.uk/python/win32_how_do_i/show_mapped_drives.html
will produce the same effect as your parsing of the "net use" output.
TJG
More information about the Tutor
mailing list