title: Conditional includes in Classic ASP - where the file may not exist on the server
body: <p>I am currently in a situation where I have to make some additions to an application written in classic ASP using server-side JScript on IIS.</p>
  
  <p>The additions that I need to make involve adding a series of includes to the server-side code to extend the application's capabilities. However, the inc files may not exist on the server in all cases, so I need the application to fall back to the existing behavior (ignore the includes) if the files do not exist, rather than generating an error.</p>
  
  <p>I know that this can't be accomplished using if statements in the JScript code because of the way that SSI works, and have not come across any ways of dynamically including the code on the server side, where the files may not exist.</p>
  
  <p>Does anyone know of a way to accomplish this in classic ASP? Any help would be much appreciated.</p>