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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

how to execute dos commands and write the data in a text file?

Hi
I want to run some dos commands through Talend. I dont know which component to use.
And then I want to write some data in a text file (append a text file).
can you tell me how to do these two things?
Thanks!
Labels (2)
7 Replies
Anonymous
Not applicable
Author

Hello
You can use the tSystem component.
Best regards
shong
Anonymous
Not applicable
Author

Hi shong
I want to go into a directory say d:/nitin/para
and then run a command that uses another .exe file e.g : kev.exe -t -y -i "T56Y" in.csv out.csv
Can you tell how to write it in tSystem. It shows error here..
Anonymous
Not applicable
Author

Hello
Please see 7171 and see my screenshot.
Best regards
shong
Anonymous
Not applicable
Author

Thanks!!
Anonymous
Not applicable
Author

And how do I append a text file in Talend??
Anonymous
Not applicable
Author

It's not talend which is writing to your file, it's the program you told Talend to launch, "kev.exe" in your example.
Try to find the best command line possible.
Anonymous
Not applicable
Author

Actually I have to read a csv file, extract some data from it and put it at the bottom of a text file. So, after extracting the data, how can i write in notepad in talend?