修改驅動器卷標.
DriveSetLabel ( "路徑", "卷標" )
路徑 | 目標驅動器的路徑e. |
卷標 | 驅動器的新卷標.(最長 11 個字符) |
成功: | 返回 1. |
失敗: | 返回 0. |
DriveSetLabel("C:\",
"New_Label")
; 得到當前卷標
Local $var=DriveGetLabel("c:\")
; 設置卷標
DriveSetLabel("C:\",
"新卷標")
MsgBox(32,"","卷標已設置")
DriveSetLabel("C:\",
$var)
provider with jb51.net (unicode) |