I'm trying to get a batch file to delete a network drive mapping and to remap to a different network share. The problem I'm having is that I can't get it to consistently delete the mapping, I have to browse to My Computer, right-click on the drive, and select disconnect from there to delete it. Is there a switch or other command I can use to force Windows to disconnect the network drive?