[求助]FSO问题
我想用FSO写一个小文件,可是总是出现以下情况:
错误类型:
Microsoft VBScript 编译器错误 (0x800A0409)
未结束的字符串常量
/nweweb/Createtext.asp, line 9, column 10
content4="
---------^
请问该怎么解决呀?
<%
content1="<%"
content2="dim dataname"
content3="dataname="&datanameaaa&""
content4="%>" '就是这里出错了
chaomap="fbi/config/dataname.inc"
chaomap=server.MapPath(chaomap)
set fso=server.CreateObject("Scripting.FileSystemObject")
set chaowrite=fso.CreateTextFile(chaomap)
chaowrite.writeline content1
chaowrite.writeline content2
chaowrite.writeline content3
chaowrite.close
%>