vbs 简单文件操作
Dim fso, MyFile, fld
Set fso = CreateObject("Scripting.FileSystemObject")
Set fld = fso.createfolder("c:\aaa")
Set MyFile = fso.CreateTextFile("c:\aaa.txt", True)
MyFile.WriteLine("This is a test.")
MyFile.Close
Dim fso, MyFile, fld
Set fso = CreateObject("Scripting.FileSystemObject")
Set fld = fso.createfolder("c:\aaa")
Set MyFile = fso.CreateTextFile("c:\aaa.txt", True)
MyFile.WriteLine("This is a test.")
MyFile.Close