Re: need to append file rather than overwrite
- From: "Steven" <sdixon@xxxxxxxxxxxxxx>
- Date: Tue, 20 Mar 2007 20:34:44 -0700
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
.
- Follow-Ups:
- Re: need to append file rather than overwrite
- From: Miztiik
- Re: need to append file rather than overwrite
- References:
- Re: need to append file rather than overwrite
- From: graeme . donaldson
- Re: need to append file rather than overwrite
- From: graeme . donaldson
- Re: need to append file rather than overwrite
- From: graeme . donaldson
- Re: need to append file rather than overwrite
- Prev by Date: Re: Getting number of DCHP Leases with WMI
- Next by Date: Re: Hatd disk size
- Previous by thread: Re: need to append file rather than overwrite
- Next by thread: Re: need to append file rather than overwrite
- Index(es):
Relevant Pages
|