Net_RemoveNetworkDrive
Description
Disconnects an already connected network drive
Â
Syntax
Net_RemoveNetworkDrive(sDrive, bForce) As Boolean
Â
Parameters
sDrive (String)
Drive letter to disconnect
bForce (String)
Force the disconnection. Open file pipes will be terminated
Â
Example
VBScript
If bStatus Then bStatus = Net_RemoveNetworkDrive("Q:", True)
Â
Related functions
Net_MapNetworkDrive Net_EnumNetworkDrives Net_EnumNetworkDrivePaths