Clicky

I need the switch that will make a net use z: /d command delete the z: drive connection even if the Z: drive has open files.

Net use z: /d

What is the other switch (/) that I need to add that will delete the z: drive connection even if the z: drive has open files?

asked 12/11/2011 12:27

Knowledgeable's gravatar image

Knowledgeable ♦♦


2 Answers:
Net use Z: /Delete /y   or net use Z: /delete /y >NUL
 
link

answered

getzjd's gravatar image

getzjd

echo y | net use r: /del
link

answered 2011-12-11 at 20:55:12

johnb6767's gravatar image

johnb6767

Your answer
[hide preview]

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×32
×1
×133
×48

Asked: 12/11/2011 12:27

Seen: 336 times

Last updated: 12/15/2011 04:52