Thread: Flat files help
View Single Post
Old Nov 9th, 2005, 11:37 AM   #1
paulchwd
Hobbyist Programmer
 
paulchwd's Avatar
 
Join Date: Mar 2005
Posts: 139
Rep Power: 4 paulchwd is on a distinguished road
Exclamation Flat files help

Hello all,

I haven't worked with flat files in a while ande cant get it to append data

i have this code thus far and it not appending the data

dim fs,fname, pathF

const forAppending = 8

pathf=server.mappath("err.txt")

set fs=Server.CreateObject("Scripting.FileSystemObject")

set fname=fs.CreateTextFile(pathf, forAppending, true)

fname.WriteLine("Hello World!")

fname.Close

set fname=nothing

set fs=nothing

thanks for your help
paulchwd is offline   Reply With Quote