DOS Command – How To Delete Windows Shared Folder Connection
How to delete windows shared folder connection by using DOS command?
To view current windows shared folder connections.
Command:
net use
Output:
C:\Documents and Settings\user>net useNew connections will not be remembered.
Status Local Remote Network——————————————————————————-
OK Z: \\sharedhostname\sharedfoldername\
Microsoft Windows Network
The command completed successfully.
To delete CERTAIN windows shared folder connection.
Command:
net user z: /d
Remark : where z: is the mapping drive letter.
To delete ALL windows shared folder connection.
Command:
net use * /d

