Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Disconnects an already connected network drive

 


Syntax

Net_RemoveNetworkDrive(sDrive, bForce) As Boolean 


Parameters

sDrive (String)

...

Force the disconnection. Open file pipes will be terminated

...


Example

Code Block
languagevb
themeEclipselanguagevb
titleVBScript
If bStatus Then bStatus = Net_RemoveNetworkDrive("Q:", True)

Scripting Guidelines 


Related functions

Net_MapNetworkDrive Net_EnumNetworkDrives Net_EnumNetworkDrivePaths