/
Net_RemoveNetworkDrive
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
, multiple selections available,
Related content
Net_Ping
More like this
$cs.File_DelFile
$cs.File_DelFile
More like this
$cs.File_DeleteLineInFile
$cs.File_DeleteLineInFile
More like this
Log_RemoveLogs
Log_RemoveLogs
More like this
OSD_InjectXPMassStorage
OSD_InjectXPMassStorage
More like this
File_WaitWhileExist
File_WaitWhileExist
More like this