举报
$test = _DeleteVolumeMountPointW("z:") ;这里z:为要删除的盘符 Func _DeleteVolumeMountPointW($s_PointW) If Not FileExists($s_PointW) Then Return 0 If StringRight($s_PointW, 1) <> "" Then $s_PointW &= "" $iReturn = DllCall("kernel32.dll", "int", "DeleteVolumeMountPointW", "wstr", $s_PointW) If Not FileExists($iReturn[1]) Then Return 1 Else Return -1 EndIf EndFunc ;==>_DeleteVolumeMountPointW MsgBox(0,"",$test)
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-2-26 01:16 , Processed in 0.086575 second(s), 23 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2024 Discuz! Team.