摘要: 这几天用js写一个读写文件的程序,在此记录一下遇到的问题~~最初的程序如下://读文件function readFile(filename){ var fso = new ActiveXObject("Scripting.FileSystemObject");var f = fso.OpenTextFile(filename,1);var s = ""; while (!f.AtEndOfStream) s+= f.ReadLine()+"\n"; f.Close(); return s;}//写文件function writeFil 阅读全文
posted @ 2013-11-17 13:12 KICK-ASS 阅读(1227) 评论(0) 推荐(0) 编辑