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