Hi ,
I tried to write a Line at the end of my file Test.txt.
[HTML]function AddNewL(){
var Object = new ActiveXObject(' Scripting.FileS ystemObject'); var LirTxt2 = Object.GetFile( "F:\Test.tx t");
var ForWriting=2; //to be able to write
var doc2 = LirTxt.OpenAsTe xtStream(ForWri ting,true); doc2.WriteLine( "byebye); //
doc2.Close(); //close the file
} [/HTML]
But I can only manage to overwrite and i loose my first lines.
If someone has a good idea,
many thanks
I tried to write a Line at the end of my file Test.txt.
[HTML]function AddNewL(){
var Object = new ActiveXObject(' Scripting.FileS ystemObject'); var LirTxt2 = Object.GetFile( "F:\Test.tx t");
var ForWriting=2; //to be able to write
var doc2 = LirTxt.OpenAsTe xtStream(ForWri ting,true); doc2.WriteLine( "byebye); //
doc2.Close(); //close the file
} [/HTML]
But I can only manage to overwrite and i loose my first lines.
If someone has a good idea,
many thanks
Comment