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