Run / call bat file?


Can we run call a bat file ?

Code tried:
“CreationDate”: “2018-7-8”,
“Commands”: [
“Command”: “storeEval”,
“Target”: “var wshShell = new ActiveXObject(“WScript.Shell”); wshShell.Run(“C:\\Selenium\\order.bat”);”,
“Value”: “order”
“Command”: “echo”,
“Target”: “${order}”,
“Value”: “”

Getting Error: Error in runEval code: ActiveXObject is not defined


You can not call a bat file from within the Kantu macro, but you can call the macro from a bat file.

Does this solve your question/task?