[resolved] HELP - I GET ERROR BY USING tSystem COMPONENT

Five Stars

[resolved] HELP - I GET ERROR BY USING tSystem COMPONENT

Hi all,
I want to zip folder by using tSystem component; to do so i get an exe program that i have already test in my terminal and it work well.
So to integrate it in Talend, i configure my component like that:    
  
First i specify the folder where to find exe rogram and then run command "D7Zip.exe -?" to list command option (get help)

But ater running, i get this error:
Exception in component tSystem_1
java.io.IOException: Cannot run program "D7Zip.exe" (in directory "C:\Talend_Archive_Exe"): CreateProcess error=2, Le fichier spécifié est introuvable
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1047)
at java.lang.Runtime.exec(Runtime.java:617)
at java.lang.Runtime.exec(Runtime.java:450)
at myspherescustomerdelivery.scenario_comgest_04_0_1.Scenario_Comgest_04.tSystem_1Process(Scenario_Comgest_04.java:409)

May somebody help me please?
Seventeen Stars

Re: [resolved] HELP - I GET ERROR BY USING tSystem COMPONENT

I would use the command array and place in the first row D7Zip.exe and in the next row the parameter.
Are you sure about this parameter?
Five Stars

Re: [resolved] HELP - I GET ERROR BY USING tSystem COMPONENT

Hi jlolling,
Yes this command is right and you can see in this image, the result of test when i run it in the terminal.

And i retry it in Talend with your suggestion, but i get the same error
Thank you for your help,
Five Stars

Re: [resolved] HELP - I GET ERROR BY USING tSystem COMPONENT

Hi all,

It works, i should write first in command line "cmd /c.............."

Thanks, 

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Have you checked out Talend’s 2019 Summer release yet?

Find out about Talend's 2019 Summer release

Blog

Talend Summer 2019 – What’s New?

Talend continues to revolutionize how businesses leverage speed and manage scale

Watch Now

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog