亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频



GetDriveName 方法

返回包含指定路徑中驅動器名的字符串。

object.GetDriveName(path)

參數

object

必選項。應為 FileSystemObject 的名稱。

path

必選項。指定路徑,要返回其組成部分的驅動器名。

說明

如果無法確定驅動器,則 GetDriveName 方法返回零長度字符串 ("")。

下面例子舉例說明如何使用GetDriveName 方法:

 Function GetAName(DriveSpec)
Dim fso
Set fso =CreateObject("Scripting.FileSystemObject")
GetAName =fso.GetDriveName(Drivespec)
End Function

注意   GetDriveName 方法只能對提供 path 的字符串起作用。它不能試圖分析一個路徑,也不能檢查指定路徑是否存在。

請參閱

GetAbsolutePathName 方法 | GetBaseName 方法 | GetDrive 方法 | GetExtensionName 方法 | GetFile 方法 | GetFileName 方法 | GetFolder 方法 | GetParentFolderName 方法 | GetSpecialFolder 方法 | GetTempName 方法

應用于:FileSystemObject 對象

返回首頁