perl dbi 查询数据库:vb中用fso修改文本内容

来源:百度文库 编辑:中科新闻网 时间:2024/04/26 03:15:44
有一个文本文件的路径是d:\123.txt内容是"123456"现在要让他改成"12310456",这个用fso怎么实现啊..
新建覆盖原来的..就免了..

新建一个然后覆掉原来的
set ts=fso.opentextfile(filename,forwriting,true)
ts.write "12310456"
ts.close
set ts=nothing