Fortress machine directly call RUN

Both scripts

 

 

 Run.vbe reference https://blog.csdn.net/skypeGNU/article/details/12708221

set ws=wscript.createobject("wscript.shell")  
ws.run "CmdCalled.bat /start",0

 

The called script: CmdCalled.bat

@echo off
mstsc

 

Double-click execution after Run.vbe

 

Guess you like

Origin www.cnblogs.com/hanshanxiaoheshang/p/11461233.html