Set fso = CreateObject("Scripting.FileSystemObject")
Set fsofile = fso.CreateTextFile("testfile.csv", True)
fsofile.WriteLine "this is a test!"
fsofile.Close
set fso=nothing
Set fsofile = fso.CreateTextFile("testfile.csv", True)
fsofile.WriteLine "this is a test!"
fsofile.Close
set fso=nothing
本文介绍使用VBScript创建CSV文件的方法。通过实例演示了如何利用Scripting.FileSystemObject对象创建并写入内容到CSV文件中。
2158

被折叠的 条评论
为什么被折叠?



