js操作txt
来源:互联网 发布:济宁行知中学 编辑:程序博客网 时间:2024/05/18 02:10
function CreateFile()
{
var fso, tf;
fso = new ActiveXObject("Scripting.FileSystemObject");
tf = fso.CreateTextFile("c:\\testfile.txt", true);
// 写一行,并且带有新行字符。
tf.WriteLine("Testing 1, 2, 3.") ;
// 向文件写三个新行字符。
tf.WriteBlankLines(3) ;
// 写一行。
tf.Write ("This is a test.");
tf.Close();
}
{
var fso, tf;
fso = new ActiveXObject("Scripting.FileSystemObject");
tf = fso.CreateTextFile("c:\\testfile.txt", true);
// 写一行,并且带有新行字符。
tf.WriteLine("Testing 1, 2, 3.") ;
// 向文件写三个新行字符。
tf.WriteBlankLines(3) ;
// 写一行。
tf.Write ("This is a test.");
tf.Close();
}
- js操作txt
- js操作txt文件
- js xml操作类.txt
- js写txt文件及js数组的有关操作
- TXT操作
- js或java前边补0操作.txt
- 用JS读取.txt文件方法以及一个操作.txt文件通用类方法【深海原创】
- JS读txt文件
- js读取本地txt
- JS常用验证.txt
- js写txt文件
- js读写txt文件
- JS 导出txt文本
- js框架复习.txt
- js导出txt
- js读取txt文件
- js dojo 读取txt
- js加载txt
- 推荐一个Android应用开发的服务器端框架codeigniter
- chrome打开新页面都是打开http://www.94994.com/?thunder
- Windows7与Ubuntu双系统,windows引导
- 解题报告2
- SSH常用命令
- js操作txt
- Android适配器Adapter学习
- install SSH on ubuntu 12.04
- Hibernate框架入门
- uva 712
- shell test用法
- 研究生学习历程
- Spring JDBC模板类—org.springframework.jdbc.core.JdbcTemplate .
- 服务器控件和html控件区别