System.util.execute

Hi!

The backslash is used to escape characters that would have a special meaning (\n for newline, for example).
So, if you need an actual backslash, you would need to use two: \.

Try using something like this:

system.util.execute(["C:\\windows\\system32\\cmd.exe","/C","start","C:\\Users\\WengFai\\Desktop\\Test.bat"])
1 Like