You are not logged in.
Announcement
Unanswered posts
|
Pages: 1

Hello All,
Im working on TSystem component to send the command to windows CMD to check number of files in a directory.
My Syntax:
"cmd /C cd C:/Project/Project Mizuho/POC/Test Data & cmd /C DIR /A-D /B | FIND /C /V """
But im having error : Syntax error on token """", delete this token
Can anyone please help me on how to replace the "" which are required for the cmd FIND to fit it?
THanks a lot!
Offline

Hi
Because this command is a String in Talend job. You have to handle it with '\'.
"cmd /C cd C:/Project/Project Mizuho/POC/Test Data & cmd /C DIR /A-D /B | FIND /C /V \"\""
Hope this will help you.
Regards,
Pedro
Offline
Pages: 1