Both versions run correctly when I double click the bat file, but when I have it as a scheduled task, the flow is not executed, but test2.txt file is modified, so the issue is only on UIPath…
Weird, I’ve just tested it and it works. I left the Start in (optional) field blank though. The other difference was that I run it from community edition, therefore from my user folder and not program files folder.