Question : Disconnecting network drive from command line

I am running NT 4.0, I have a batch file that
connects my network drives.  I want to be able to disconnect them with another batch.

I am trying to use  net use
here is what I am typing but I am getting an error:

net use V: \\mymachine\mydir /delete

This will not work keep getting an error, here is the error:
"A command was used with conflicting switches.

More help is available by typing NET HELPMSG 3510"

I just want to disconnect a network drive from the commandline.  Thnaks
 

Answer : Disconnecting network drive from command line

If you want to disconnect them all at once,
NET USE * /DELETE

should work...
Random Solutions  
 
programming4us programming4us