Contents of default.asp :
<!-- The includefile is one level back from the "default.asp" file: -->
<!--#include file ="../../jakes_IO.asp"-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="da">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Example use of the FolderExists function</title>
<link rel="stylesheet" type="text/css" href="/jake.css">
</head>
<body>
<div align="center"><h1>Using FolderExists()</h1></div>
<br><b>Checking for the existence of three different folders</b>
<span class="sample">
<!-- *************** HERE IS WHERE IT HAPPENS!! ****************** -->
does the folder "../fileexists" exist? <%=folderExists("../fileexists")%>
<br>does the folder "backup/january" exist? <%=folderExists("backup/january")%>
<br>does the folder "temp" exist? <%=folderExists("temp")%>
<!-- ********************************************************************** -->
</span>
<p><b>Contents of default.asp :</b><br>
<span class="source">
<% response.write(stringToHTML (GetFileContents("default.asp")))%>
</span>
</body>
</html>