net use 共享

阅读更多
net use g: \\10.20.28.9\Public\RMS arr**2500 /user:localhost\admin /P:Yes

To remove the incorrectly labeled mapped drive, follow these steps:
Click Start, point to Run, type regedit, and then click OK.
In Registry Editor, locate the following registry subkey:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2
Right-click the mapped drive that you want to remove. For example, right-click ##Server_Name#Share_Name, and then click Delete.

Note Replace the Server_Name placeholder with the name of the server that hosts the mapped network drive.
Replace the Share_Name placeholder with the name of the mapped network drive.

RemotePath  \\10.20.28.9\Public\RMS

HKEY_USERS\.Default\NETWORK\R  /DELETE


Delete the registry entry "##YourPC#DriveLetter" for the mapping under
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2
    HKEY_USERS\. Default\Software\Microsoft\Windows\CurrentVersion\Explorer\Mountpoint2\

你可能感兴趣的:(net,use,共享,share)