?
? ????? PHP ??? ???? ??? ?? ??
ShareName 屬性返回指定驅(qū)動(dòng)器的網(wǎng)絡(luò)共享名稱。
注意:如果對(duì)象不是一個(gè)網(wǎng)絡(luò)驅(qū)動(dòng)器,則 ShareName 屬性返回零長(zhǎng)度字符串 ("")。
DriveObject.ShareName
<%
dim fs,d
set fs=Server.CreateObject("Scripting.FileSystemObject")
set d=fs.GetDrive("c:")
Response.Write("The sharename is: " & d.ShareName)
set d=nothing
set fs=nothing
%>