Solution:
You can run a batch file using the PerlScript component in Fiorano.
Perl: The function system() executes a system command.
Syntax: system("command", "arg1", "arg2", "arg3");
Example:
- Download PerlBatchFileExample.zip
- Unzip it C:\
- Import the event process c:\PerlBatchFileExample\Perl_Batch_File_Example.xml
- Open the event process
- Open the CPS of the PerlScript component
- Set the Perl executable path to FIORANO_HOME\extlib\perl
- Close the CPS
- Run the event process
-
Send the message set in the Feeder component
- The Display component will display the output of the batch file => Listing of C:\
|