Вот
CODE:
fso = new ActiveXObject("Scripting.FileSystemObject");
tf = fso.OpenTextFile("time.txt", 8);
tf.WriteLine("text");
fso = new ActiveXObject("Scripting.FileSystemObject");
tf = fso.OpenTextFile("time.txt", 8);
tf.WriteLine("text");
для дозаписи.