Re: need to append file rather than overwrite



Is there a command to seek to the EOF (EndOfFile)?
I would expect there to be one.
Also, post your whole script (or the relevant portions) as you may think
your writing to the file when your script skips it by due to a typo, etc.
Turn off the "on error resume" line if present as this will ignore any
errors by doing absolutely nothing and not letting you know there was an
error.

<graeme.donaldson@xxxxxxxxx> wrote in message
news:1174402311.952531.83640@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Mar 20, 4:32 pm, Miztiik <Mizt...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
it didn't work for me.

i copied the const and put the in the file creation command
like this
Set objFile = objFSO.CreateTextFile(strFileName, ForAppend, True)

but still, whenever i execute the script it is overwriting the old file
and
not appending to the end of the old file

Please post your whole script.

Thanks
Graeme



.



Relevant Pages