Create asp file on the fly
I'm trying to use a FSO and textstream object to create an asp file on the fly.
I'm writing a journal/blogging system which creates permalinks for each entry.
This takes the form of a folder based on the Journal Entry Title, with an index.asp file to display the journal itself.
Creating the folder is easy, but writing the index file is a bit more tricky.
For some reason the "writeline" method will accept the string:
"<%option explicit"
but will not accept the closing "%>".
I have narrowed it down to the "%" being the problem. Tried looking in a variety of sources for a solution but can't find any.
If life hands you lemons.....reach for the tequila and salt
|