worked well, thank you!
This approach may encounter errors in certain situations, especially when there is a lot of code. I have tried it several times before, and the only solution was to generate temporary .bat files to resolve it.
Quote:str bat=
;cd C:\
;dir
bat.findreplace("[]" "&&")
RunConsole2(F"cmd /c ''{bat}''")
This approach may encounter errors in certain situations, especially when there is a lot of code. I have tried it several times before, and the only solution was to generate temporary .bat files to resolve it.