Home > Networking > DOS Command – How To Delete Windows Shared Folder Connection

DOS Command – How To Delete Windows Shared Folder Connection

July 9th, 2009 Views: 811 views iceman Leave a comment Go to 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

  1. No comments yet.
  1. No trackbacks yet.