ExecuteCommand Function in TI Unable to Run Batch File
Posted: Fri Sep 24, 2010 1:30 pm
Hi All,
I am trying to execute a batch file in TI using the “ExecuteCommand†function.
ExecuteCommand('RenameFile.bat',0);
When I run the batch file manually it works fine.
The problem is when I run the batch file using the “ExecuteCommand†function. The TI process returns a “Process completed successfully†message, but it doesn’t do anything.
I know that the function can access the file, because it returns an error whenever I change the file name that I pass in.
I am using an administrator account to logon to Architect and the TM1 services are running as “Local System Accountâ€.
I have also tried to allow “Full Control†privilege to the batch file, but this did not fix the issue.
Does anyone know why this is happening?
Thanks!
I am trying to execute a batch file in TI using the “ExecuteCommand†function.
ExecuteCommand('RenameFile.bat',0);
When I run the batch file manually it works fine.
The problem is when I run the batch file using the “ExecuteCommand†function. The TI process returns a “Process completed successfully†message, but it doesn’t do anything.
I know that the function can access the file, because it returns an error whenever I change the file name that I pass in.
I am using an administrator account to logon to Architect and the TM1 services are running as “Local System Accountâ€.
I have also tried to allow “Full Control†privilege to the batch file, but this did not fix the issue.
Does anyone know why this is happening?
Thanks!