ivor 当前离线
上校
dim Wshell set WshShell = CreateObject("WScript.Shell") WshShell.run "test.exe" '……这儿添加输入的命令 WScript.SendKeys "{ENTER}"复制代码
TOP
@echo off echo dim Wshell > c.vbs echo set Wshell=CreateObject("WScript.Shell") >> c.vbs echo Wshell.Run "notepad" >> c.vbs c复制代码