I want to delete a network connection. When I type net use I get this:

 Microsoft Windows XP [version 5.1.2600]
 (C) Copyright 1985-2001 Microsoft Corp.

 C:\Documents and Settings\toto>net use

 État         Local     Distant                   Réseau

 -------------------------------------------------------------------------------
 OK           M:        \\192.168.5.138\share  Réseau Microsoft Windows
 OK           R:        \\192.168.2.18\tools   Réseau Microsoft Windows
 OK                     \\192.168.2.43\data   Réseau Microsoft Windows
 La commande s'est terminée correctement.

The syntax for deleting a network map is net use /delete X: if I want to delete one specific connection, or net use /delete ** if I want to delete all connections.

How can I delete the \\192.168.2.43\data connection which, as you can see, is not linked to any logical letter?

link|improve this question

feedback

1 Answer

up vote 3 down vote accepted
net use \\192.168.2.43\data /delete
link|improve this answer
perfect! I tried *net use /delete \192.168.2.43 and it didn't work..... – tinmaru Apr 15 '10 at 12:05
Ahh, got ya. Yeah, you need to make sure that the actual resource is specified. You can, obviously, put the /delete pretty much anywhere after net use. – MDMarra Apr 15 '10 at 15:04
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.