|
RemoveNetworkDrive (WshNetwork オブジェクト)
object.RemoveNetworkDrive(name, [force], [profile])
引数
解説
コンピュータ システムの共有ネットワーク ドライブ接続を解除します。 使用例
Set WshNetwork = WScript.CreateObject("WScript.Network")
WshNetwork.RemoveNetworkDrive "E:"
関連項目
ComputerName|UserDomain|UserName|AddWindowsPrinterConnection|AddPrinterConnection|EnumNetworkDrives|EnumPrinterConnection|MapNetworkDrive| |
WSHリファレンス
FileSystemObject オブジェクト Drive オブジェクト Folder オブジェクト File オブジェクト Drives コレクション Folders コレクション Files コレクション |