..
The OpenTextFile method of the FileSystemObject object opens a text file and returns a TextStream for access to the file.
The method in question accepts four parameters:
dim fs, f or
'I create a FileSystemObject instance dell'offetto
Set fs = Server.CreateObject ("Scripting.FileSystemObject")
'I open the file
Sept. for = fs.OpenTextFile ("c: \ www \ site \ page.html", 8, True)
'I write a line at end of file
fo.WriteLine ("Add this line at the end of the file ...")
'Close
fo.Close
'I cleaned
Sept. for = Nothing
Set fs = Nothing
| |
ASP (Advanced)
Full course for creating dynamic Web sites. From 39 €. |
| |
ASP Zero (Ebook)
Learning Microsoft ASP and VBScript from scratch. At only 29 €. |
| |
ASP and Access (Ebook)
Managing a MS Access database with ASP. At only 29 €. |