📜  vbs 写入文件 - VBA 代码示例

📅  最后修改于: 2022-03-11 14:51:54.599000             🧑  作者: Mango

代码示例1
Set objFSO=CreateObject("Scripting.FileSystemObject")

' Write to a file
outFile = "c:\path\to\file.txt"
Set objFile = objFSO.CreateTextFile(outFile,True)
objFile.Write "test" & vbCrLf
objFile.Close