• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

Forcibly disconnect mapped drive

snotnose

n00b
Joined
Feb 7, 2007
Messages
1
System is WinXP. Is there anyway to use 'net use' to disconnect a mapped network drive, without closing the app(s) that are currently using that drive?

Background. I have a a test suite that uses files mapped to the t: drive. To test a different hardware platform you simply unmap t: and remap it to a different location.

I'd like to disconnect t:\ from the command line (soon to be a batch file). The problem is, t: is in use by the test suite. So "net use t: /delete" doesn't work, I have to go to My Computer and disconnect it from there. Stopping the test suite and restarting it takes 2-3 minutes, plus it can't be easily done in a batch file. However, replacing t:\ out from under it works like a charm (I planned it that way).

This thread is a similar discussion of what I'm after:
http://www.hardforum.com/showthread.php?t=1048024
 
net use t: /d

Edit. yay for reading the whole post, i loose
 
Back
Top