Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to send pushd / popd command using tsystem component ?

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
-------
Pl. advice.

Labels (2)
5 Replies
Anonymous
Not applicable
Author

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.
Anonymous
Not applicable
Author

sankalp.verma wrote:
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.

Thanks for the input ,
I already tried ,there was no success in that so i have posted it here.

I guess talend can't handle //// continuous characters or i am doing something wrong in sending command.


(ROOT CAUSE : to use UNC path is when talend jobs with mapped network drive is executed manually it runs fine but the same will fail when scheduler tries to run it( windows 2008 R2). So i have to get help of UNC path and pushd popd here.)

Waiting for a reply from talend they are working on the issue.

Thanks.
Anonymous
Not applicable
Author

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?
Anonymous
Not applicable
Author

sankalp.verma wrote:
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?

Yes, it is not giving me errors if i use it as single commands. Thanks.
Anonymous
Not applicable
Author

Then my idea will be to separate multiple commands with ";" and try to put multiple commands in a batch or script file and call that script file from talend.