<% Option Explicit %>
<html>
<head>
<title>ThaiCreate.Com ASP FileSystemObject Object</title>
</head>
<body>
<%
Dim objFSO
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
IF objFSO.FileExists(Server.MapPath("MyFiles/thaicreate.txt")) Then
Response.write("File Exists")
Else
Response.write("File Not Exist")
End IF
Set objFSO = Nothing
%>
</body>
</html>