well i wanted to read a text file so i use the following code
code:
function read() {
var fso = new ActiveXObject("Scripting.FileSystemObject");
var path = "C:\TEST.TXT";
var file = fso.GetFile(path);
fH = file.OpenAsTextStream(1, -2);
//...
//some other codes
//...
fH.Close();
}
but it doesn't work,
anyone helps to solve? thanks a lot