I have some code blocks that I include on every page: header.asp, footer.asp etc.
They exist under the subfolder /myincludes/ on my main domain.
So naturally I use the command
<!--#include virtual="/myincludes/header.asp"-->
on my pages to include them, and it works just fine.
The thing is, from time to time I want to change the subdirectory's name (to something like /myincludes2/)
But I'd prefer it if I wouldn't have to re-write all of the include virtual commands all over again.
I tried doing this:
<% thefolder="/myincludes2" %>
<!--#include virtual=thefolder&"/header.asp"-->
<!--#include virtual=thefolder&"/footer.asp"-->
But it just doesn't work.
#includesby placing them inside another#includefile.