You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

13 lines
413 B

::%1 mshta vbscript:CreateObject("WScript.Shell").Run("%~s0 ::",0,FALSE)(window.close)&&exit
%1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",1)(window.close)&&exit
cd /d %~dp0
schtasks /create /tn IOTContainerService /sc minute /RL HIGHEST /mo 8 /tr %~dp0IOTContainer.exe -f
::schtasks /delete /tn IOTContainerService -f
Timeout 300
start IOTContainer.exe