I want to include a file in html but I want to pass it a variable using asp (i.e.)
<% Dim s = "file.html %>
<!-- #include file="<% s %>"-->
That doesn't seem to work, is there a way around this to get the above to work?
IIS server side includes do not support variables.
See the documentation.
One workaround would be to read the file (using FileSystemObject) into a variable and outputting that directly to the page using <%=%>.