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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

using VBS from Talend Studio

Bonjour, 

I have a excel file produced by a long talend job. When "users" receive the file by mail, they open another excel file containing a VBA macro to adjust the content.

 

I found some posts explaining that VBS (Visual Basic Scripts) can be executed from a tJava.

 

I tried (in the tJava) : 

Runtime.getRuntime().exec("cmd /c start C:\Talend\Data\PRD\\TRAX\Work\VBSscriptHIL.vbs"); 

 

but at execution, I have Error found / Warning : 

General : Invalid escape sequence (valid ones are \b \t ...

 

Labels (2)
1 Solution

Accepted Solutions
JR1
Creator III
Creator III

Try this:

Runtime.getRuntime().exec("cmd /c start C:\\Talend\\Data\\PRD\\TRAX\\Work\\VBSscriptHIL.vbs"); 

View solution in original post

1 Reply
JR1
Creator III
Creator III

Try this:

Runtime.getRuntime().exec("cmd /c start C:\\Talend\\Data\\PRD\\TRAX\\Work\\VBSscriptHIL.vbs");