Chapter1: Executing Process Runner with Command Line Parameters |
![]() ![]() ![]() |
Process Runner can be executed from DOS Command Prompt with different parameters to suffice different functionalities. Syntax: (items in BOLD are mandatory) >”<Process Runner EXE = ProR>” “<Process Runner File Path>” [“<|Autorun=True/False>”] [“<|LogonFile=Logon Shortcut file name>”][“<|SilentMode=True/False>”] [“<|ExcelFile=Excel data file path>”] [“<|SheetName=Excel Sheet Name>”] [“<|StartRow=Excel Sheet Record Start Row>”] [“<|EndRow=Excel Sheet Record End Row>”] Example: C:\Program Files (x86)\Innowera\Process Runner >ProR.exe "C:\Users\TestUser\Documents\Innowera\ProcessFiles\MM02_Change_Material.itf" "|AutoRun=true" "|LogonFile=TestUser.ilf" "|SilentMode=True" "|ExcelFile=C:\Users\TestUser\Documents\mm02.xlsx" "|SheetName=Sheet1" "|StartRow=5" "|EndRow=10" Description: ProR: Name of the Process Runner executable file (.exe) in installation folder. Second parameter: It is the path of Process Runner file that you want to run. Additional Parameters: Following are the parameters that can be used in command line with Process Runner: AutoRun: Specifies whether you want to autorun file on opening. This will also demand to assign logon file (Explained Next) as an parameter. LogonFile: Name of the Logon file to be used. Silent Mode: Including this parameter will execute the scheduled processes without error pop up in between process execution and display the error message in log file. Please note that if "|Autorun=True", then Process Runner will consider it as silent mode. ExcelFile: Complete path of the external excel data file to be used with the Process file. SheetName: Name of the sheet to consider for the file mentioned in |ExcelFile parameter. StartRow: 'Start row' to be taken for the file mentioned in |ExcelFile parameter. EndRow: Specifies the 'End Row' to be taken for the file mentioned in |ExcelFile parameter.
Following are the steps for execution of Process Runner from DOS Command Prompt: Note: Ensure to include the Inverted comma's semantically in command prompt as directed below- for the reason to help Dos command prompt to ignore the spaces.
1. To execute the Process Runner from DOS Command Prompt, you have to be in Process Runner folder (C:\Program Files (x86)\Innowera\Process Runner). ProR.exe : This command line parameter will start Process Runner.
2. ProR.exe "C:\Users\TestUser\Documents\Innowera\ProcessFiles\MM02_Change_Material.itf" : This command starts Process Runner & automatically opens the Process File specified in the second argument (which in our case is 'MM02_Change_Material.itf' in 'C:\Users\TestUser\Documents\Innowera\ProcessFiles\').
3. ProR.exe "C:\Users\TestUser\Documents\Innowera\ProcessFile\MM02_Change_Material.itf" "|AutoRun=true" "|LogonFile=TestUser.ilf" "|SilentMode=True": This command is used to run a specific process file automatically from Process Runner. This can be done by specifying two different parameters i.e. Autorun & LogonFile.
4. ProR.exe "C:\Users\TestUser\Documents\Innowera\ProcessFiles\MM02_Change_Material.itf" "|AutoRun=true" "|LogonFile=TestUser.ilf" "|SilentMode=True" "|ExcelFile=C:\Users\TestUser\Documents\mm02.xlsx" "|SheetName=Sheet1" "|StartRow=5" "|EndRow=10": This command is used to specify External Excel data file to be used in Process File.
Description: ExcelFile: Specifies the external excel data file to be used with the Process file. SheetName: Name of the sheet to consider for the file mentioned in |ExcelFile parameter. StartRow: Specifies the 'Start Row' to be taken for the file mentioned in |ExcelFile parameter. EndRow: Specifies the 'End Row' to be taken for the file mentioned in |ExcelFile parameter.
Process file can also be executed through scheduler. Furthermore click here to know- how to schedule process file.
Next: |