V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  moneycwq  ›  全部回复第 1 页 / 共 1 页
回复总数  1
排版问题,我单独写一下写的 vbs 内容
Dim WshShell
Set WshShell=WScript.CreateObject("WScript.Shell")
WshShell.Run "cmd.exe"
WScript.Sleep 1500
WshShell.SendKeys "ssh [email protected]"
WshShell.SendKeys "{ENTER}"
WScript.Sleep 1500
WshShell.SendKeys "CHENyyrui*102437"
WshShell.SendKeys "{ENTER}"
WScript.Sleep 1500
WshShell.SendKeys "cd /vmfs/volumes/datastore/UPS"
WshShell.SendKeys "{ENTER}"
WScript.Sleep 1500
WshShell.SendKeys "sh test.sh"
WshShell.SendKeys "{ENTER}"
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   998 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 10ms · UTC 21:32 · PVG 05:32 · LAX 13:32 · JFK 16:32
Developed with CodeLauncher
♥ Do have faith in what you're doing.