I am trying to send array of system commands thru tSystem component.
command strings are,
"cmd /c pushd \\\\10.0.100.58\\ConsoleLive\\BI Integration Data\\Backup\\RetailerTextData "
"cmd /c move *.csv importedforgisserver"
"cmd /c popd"
I am getting error as given below.
Exception in component tSystem_1
java.io.IOException: Cannot run program "cmd /c pushd \\10.0.100.58\ConsoleLive\BI Integration Data\Backup\RetailerTextData": CreateProcess error=2, The system cannot find the file specified
There s nothing specific to tSystem component here. Try these things:
- Running this command through command prompt.
- Running single command at a time
This will help you to pin point the error area.
In the past I have been able to use "\\\\" UNC paths to execute command using tSystem component. Can you try executing one command at a time?
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Part 2 of a series on Context Variables
Learn how to do cool things with Context Variables
Find out how to migrate from one database to another using the Dynamic schema