Archive

Posts Tagged ‘dos command’

DOS Command – How To Delete Windows Shared Folder Connection

July 9th, 2009 iceman No comments

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 use

New 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

Related posts