FolderExists
フォルダの存在判定
文法
FileSystemObjectオブジェクト.FolderExists (Name)
パラメータ
Name : フォルダ名
機能説明
フォルダの存在を確認
戻り値 True : 存在/False : 存在しない
使用例
<%
Dim objFs
Set objFs = Server.CreateObject("Scripting.FileSystemObject")
Response.Write "フォルダ存在チェック : " & objFs.FolderExists("C:\test") & "
" & vbCrlf
'オブジェクトを開放
Set objFs = Nothing
%>
Topへ