Vbs COM之打开/保存文件脚本代码
您先把如下的代码复制,然后保存为FileSave.vbs,双击打开,您看到了什么呢?复制代码 代码如下:Set objDialog = CreateObject("SAFRCFileDlg.FileSave") Set fso = CreateObject("Scripting.FileSystemObject") objDialog.FileName = "test" objDialog.FileType = ".txt" intReturn = obj...