你可以把他拷贝到写字板中,然后以.vbs为后缀存盘,之后双击他,
’test.vbs
’下面用SHELL对象启动程序
Set WshShell = Wscript.CreateObject(“Wscript.Shell“)
WshShell.Run (“notepad “ & Wscript.ScriptFullName)
’用COM对象Scripting.FileSystemObject操作文本文件
Set fs = Wscript.CreateObject(“Script页码:[1] [2] [3] [4] [5] [6] 第5页、共6页 |