cancel
Showing results for 
Search instead for 
Did you mean: 

Sender adapter OS command does not invoke script

Former Member
0 Kudos

Hi Gurus,

we have one scenario using os commands needs to unzip the multiple files.

zip file contains .tpz files, that .tpz files we need to move to another folder, from that folder my sender communication channel going to pick the .tpz files.

for this functionality we written one script (.bat) file. it is working as we expected in FTP Server.

But when we try to unzip the same file using same script through PI sender communication channel it is not working..

Please advise me where i went wrong...........

Thanks in Advance

Thanks

Hari

Accepted Solutions (0)

Answers (2)

Answers (2)

AlexanderApel
Participant
0 Kudos

Hi,

try this

in my case it works 🙂

Greetings,

Alex

Former Member
0 Kudos

Hi Alex,

Thanks for your reply.

i tried as your instructions but i am getting error like below


Error executing OS command "cmd.exe /C "D:\Root\folder\Unzip.bat""



Thanks


Hari

Former Member
0 Kudos

Hi,

have you checked log files in nwa - the adapter sould write messages to stdout / stderr

br

franz

Former Member
0 Kudos

Hi Franz,

thanks for quick reply

i have checked log files in nwa but i didn't get any logs.

please check my original message. there is a attachments. one is the cc path and another one is error in message monitoring.