Author Topic: batch file on TI process  (Read 512 times)

Offline sdf

  • Statesman
  • ******
  • Join Date: Feb 2014
  • Posts: 314
  • Forum Citizenship: +3/-0
batch file on TI process
« on: 29 Jun 2017 10:03:48 pm »
Hi Gurus,

Would like to ask if you guys have tried running a batch file from a TI process.
Can seemed to find the steps and exact syntax.
More specifically, my batch file or .exe needs parameters (e.g date)

Offline AJAYC

  • Senior Member
  • ****
  • Join Date: Apr 2012
  • Posts: 62
  • Forum Citizenship: +2/-0
Re: batch file on TI process
« Reply #1 on: 06 Aug 2017 03:01:45 pm »
Try using the following:

ExecuteCommand(sCommandLine, sWait);

Where sCommand is your path and filename of the bat file to run, and sWait is the flag to decide whether to wait for the next command or not