Hi,
The code below works fine in QM, How to run in LA
Macro Macro24
Run failed:
Run failed:
The code below works fine in QM, How to run in LA
Macro Macro24
_s=
;@echo off
;set name=hello 你好
;for /l %%i in (0,1,5) do (
;;;;;echo %name%
;)
__TempFile f.Init(".bat" "" "" _s)
RunConsole2(f _s "" 0x800)
mes _s
Run failed:
var commands = """
@echo off
set name=hello 你好
for /l %%i in (0,1,5) do (
echo %name%
)
""";
commands = commands.Replace("\r\n", " && ");
run.console("cmd.exe", $@"/u /c ""{commands}""", encoding: Encoding.Unicode);
Run failed: