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