堡垒机直接调用RUN
两个脚本
Run.vbe 参考https://blog.csdn.net/skypeGNU/article/details/12708221
set ws=wscript.createobject("wscript.shell") ws.run "CmdCalled.bat /start",0
被调用脚本:CmdCalled.bat
@echo off
mstsc
双击执行 Run.vbe后
两个脚本
Run.vbe 参考https://blog.csdn.net/skypeGNU/article/details/12708221
set ws=wscript.createobject("wscript.shell") ws.run "CmdCalled.bat /start",0
被调用脚本:CmdCalled.bat
@echo off
mstsc
双击执行 Run.vbe后