Cable Forum

Cable Forum (https://www.cableforum.uk/board/index.php)
-   General IT Discussion (https://www.cableforum.uk/board/forumdisplay.php?f=19)
-   -   Batch file to unmap/disconnect some drives. (https://www.cableforum.uk/board/showthread.php?t=33645246)

funkyCable 03-02-2009 10:58

Batch file to unmap/disconnect some drives.
 
Hi

I have a batch file that maps some networks drives and their folders. Anybody know how I can unmap/disconnect them using a batch file?

I'm using Win XP.

Aragorn 03-02-2009 11:16

Re: Batch file to unmap/disconnect some drives.
 
Stick "/Delete" at the end of each "Net Use" command in the batch file (no quotes!).

SimpleSimon 03-02-2009 19:16

Re: Batch file to unmap/disconnect some drives.
 
To clarify you use the following to disconnect

net use x: /delete

Where x is the drive letter of the mapped drive.

Simon


All times are GMT +1. The time now is 01:21.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum