var fso = new ActiveXObject("Scripting.FileSystemObject");
var fw = fso.CreateTextFile("c:\\hello.txt", 1, true);
fw.WriteLine("你好,小红");
fw.close();
var fr = fso.OpenTextFile("c:\\hello.txt", 1, false, true);
var str = fr.ReadLine();
fr.close();