io sto facendo cosi
codice:
tagApriASP = chr(60) & "%"
tagChiudiASP = "%" & chr(62)
set FS = server.createobject("Scripting.FileSystemObject")
set File = FS.CreateTextFile(DirPath & "\test.asp")
File.WriteLine("<html>")
File.WriteLine("<title>" & strNewFolder & "</title>")
File.WriteLine("<head></head>")
File.WriteLine("<body>")
File.WriteLine tagApriASP & "response.write(""non funziona"")" & tagChiudiASP
File.WriteLine("</body>")
File.WriteLine("</html>")
File.close
Set File = Nothing
e il file lo crea con queso codice
codice:
<html>
<title>/foto_21</title>
<head></head>
<body>
<%response.write("non funziona")%>
</body>
</html>
con nome file test.asp
sembra che sia in regola ma il browser non lo legge