I'm trying to use the "Run Program" Tool in a Task. I'm pointing it to an EXE file that takes two parameters: the first is a path to an XML file and the second is a key/value pair. From the command line, I call the program like this:
MyProgram.exe config.xml id=123
What is the equivalent in TaskCentre? I have the following configuration but it does not appear to work:
- Program to Run: (the_path_to_the_exe)/MyProgram.exe
- Parameters:
- Name : configFile, Type : BSTR, Value : config.xml
- Name : imisid, Type : BSTR, Value : id={Variables("IMISID")} (attempting to format this so my program can interpret it correctly while also merging in a variable)
From the online help for TaskCentre
Note: When defining pathnames to executables or files, ensure that the string is enclosed within double quotes. E.g. "C:\Program Files\MSOffice\Winword.exe". This also applies to any strings used for parameter information.
Ted Ericson. ASI/Product Management