Greetings
I am trying to write a string to a file using the following:
dim ReportObject,ReportFile
set ReportObject=Server.CreateObject("Scripting.FileSystemObject")
set ReportFile=ReportObject.CreateTextFile(Server.MapPath("\reports\reportfile.asp"))
ReportFile.WriteLine("<%@ LANGUAGE="VBSCRIPT" %>")
Obviously it dies at the second double quote before VBSCRIPT.
Can someone tell me how to handle this?
Thanks,
Warren
I am trying to write a string to a file using the following:
dim ReportObject,ReportFile
set ReportObject=Server.CreateObject("Scripting.FileSystemObject")
set ReportFile=ReportObject.CreateTextFile(Server.MapPath("\reports\reportfile.asp"))
ReportFile.WriteLine("<%@ LANGUAGE="VBSCRIPT" %>")
Obviously it dies at the second double quote before VBSCRIPT.
Can someone tell me how to handle this?
Thanks,
Warren