opposite of "net use"
To mount a network drive from the cmd prompt on windows I can do, for example:
net use z: \\vboxsvr\somedrive
How would I disconnect it from the cmd prompt?
Solution 1:
net use z: /delete
Solution 2:
Ignacio answered the immediate problem, but one hint: There is a /help parameter for any subprogram of the net command. So, net use /help
shows you everything you need to know for connecting to network resources, and with net /help
you get an overview of the complete program.