I am trying to create and edit a text file usinf Javascript.
I have used the following code. But it returns an error.
SyntaxError: missing ; before statement
var fso = CreateObject("Scripting.FileSystemObject");
var s = fso.CreateTextFile("I:\Satheesh\test.txt", True);
s.writeline("HI");
s.close
Please note that my Javascript should run only on firefox.
Thanks in Advance
s.Close();??VBScriptthat relies on a proprietary Microsoft API using ActiveX if you used the JScript example (msdn.microsoft.com/en-us/library/2z9ffy99(v=vs.84).aspx). This will not work.