87,920
社区成员
发帖
与我相关
我的任务
分享
var fso, f, r,path
var ForWriting = 2;
var path="c:\\testfile.txt"
fso = new ActiveXObject("Scripting.FileSystemObject")
if (fso.FileExists(filespec)){
f = fso.OpenTextFile(path, ForWriting, true)
f.Write("Hello world!");
f.Close();
}
xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
xmlDoc.async="false";
xmlDoc.load("d://test.xml");