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?
Ignacio answered the immediate problem, but one hint: There is a /help parameter for any subprogram of the net command. So,