Return users mapped drive letter from network drive remote
问题 I'm trying to find a way to retrieve the users mapped drive letter from a network drive. I've read a few posts here but they all seem to be around mapping/unmapping drives, whereas I simply need to know what drive the user has that network drive mapped to. From a command prompt I use: Net Use s: for example will give me the name of the networked drive (\servershare\file\sharename\shared), however Net Use \\servershare\file\sharename\shared just gives "The command completed successfully",