ExecuteCommand
Posted: Fri Oct 01, 2010 6:02 pm
I have tried just about everything I could think of but I can't seem to get ExecuteCommand to work. No matter how I seem to change the command it always says process completed successfully but nothing happens.
Have I missed something? TM1 is installed on E:, I tried adding E:\ to the front of the path environment variable, I tried putting test.bat in the TM1 bin directory, TM1 directory, TM1 datadirectory, I tried adding the TM1 bin directory to the path environment variable. It just doesn't want to go.
Heres what Ive tried
CommandLine ='E:\Test.bat';
ExecuteCommand(CommandLine, 0);
CommandLine ='cmd /c E:\Test.bat';
ExecuteCommand(CommandLine, 0);
ExecuteCommand('CMD /c E:\Test.bat', 0);
ExecuteCommand('E:\Test.bat', 0);
Have I missed something? TM1 is installed on E:, I tried adding E:\ to the front of the path environment variable, I tried putting test.bat in the TM1 bin directory, TM1 directory, TM1 datadirectory, I tried adding the TM1 bin directory to the path environment variable. It just doesn't want to go.
Heres what Ive tried
CommandLine ='E:\Test.bat';
ExecuteCommand(CommandLine, 0);
CommandLine ='cmd /c E:\Test.bat';
ExecuteCommand(CommandLine, 0);
ExecuteCommand('CMD /c E:\Test.bat', 0);
ExecuteCommand('E:\Test.bat', 0);