TM1 Process to call .BAT file


IBM Cognos TM1 10.2.2
Microsoft Windows 2012 R2 Server
Sterling Integrator / Connect Direct


When calling a BAT file from a TM1 TI process, to call other program, to send files other systems.
You get not the result you wanted.

The BAT file works fine when run direct in DOS prompt, and then job get done.
But when called from a TI process – there are no errors – but the job is not executed.

Example of TI code to call a BAT file:
SIpath = 'C:\cdroot\processer\PW188\PW188.bat';
ExecuteCommand ( SIpath, 0);

Possible solution:

On the Microsoft Windows 2012 server create this two folders (if they do not exist):


This folders are needed when you run Applications without a user in Windows.