Mega Code Archive

 
Categories / JavaScript Tutorial / MS JScript
 

TextStream Close()

The Close() method closes the previously opened file. <html>     <script language="JScript">     <!--     var myFileSysObj = new ActiveXObject("Scripting.FileSystemObject");     var myTextStream = myFileSysObj.OpenTextFile("c:\\temp\\test.txt", 1, true);     myTextStream.Close();     -->     </script> </html>