DriveExists

ドライブの存在判定


文法
FileSystemObjectオブジェクト.DriveExists (Name)


パラメータ
Name : ドライブ名


機能説明
ドライブの存在を確認
戻り値 True : 存在/False : 存在しない


使用例
<% Dim objFs Set objFs = Server.CreateObject("Scripting.FileSystemObject") Response.Write "ドライブ存在チェック : " & objFs.DriveExists("C") & "<br>" & vbCrlf 'オブジェクトを開放 Set objFs = Nothing %>
Topへ