In Windows, if you have mapped network drives and you don't know the UNC path for them, you can start a command prompt (Start → Run → cmd.exe) and use the net use
command to list your mapped drives and their UNC paths:
C:>net use
New connections will be remembered.
Status Local Remote Network
-------------------------------------------------------------------------------
OK Q: \server1foo Microsoft Windows Network
OK X: \server2ar Microsoft Windows Network
The command completed successfully.
Note that this shows the list of mapped and connected network file shares for the user context the command is run under. If you run cmd.exe
under your own user account, the results shown are the network file shares for yourself. If you run cmd.exe
under another user account, such as the local Administrator, you will instead see the network file shares for that user.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…