Code: Select all
code =
(Join;
echo hello
pause
)
cmd = powershell Start-Process powershell -ArgumentList "``-Command,{%code%}" -Verb runAs
Run, %cmd%,, Hide
Code: Select all
code =
(
echo hello
pause
)
Run, *RunAs "powershell" -Command "&{%code%}"