You can't. Try to find another way to accomplish the task.
-Original Message-
From: prabakaran.jeyaku...@accenture.com
[mailto:prabakaran.jeyaku...@accenture.com]
Sent: Thursday, November 06, 2014 2:33 AM
To: TeraScript-Talk@terascript.com
Subject: RE: TeraScript-Talk: Could not execute
Here's another thought - use a COM object to run the batch file. Something like
this should work:
@ASSIGN shell @CREATEOBJECT type=COM objectid=wscript.shell
@CALLMETHOD shell Run('cmd /c c:\path\to\script.bat',0,0)
Although it won't return the stdout to TeraScript (you'll see the exit code) it