cancel
Showing results for 
Search instead for 
Did you mean: 

File Sender Adapter

Former Member
0 Kudos

Hello All...

sysinfo: files to join, file1, file2, file3 output after joining the files should be sal.txt and the executable file is run.bat

We have a File Sender Adapter and we are trying to "Run an Operating System Command Before message Processing" where we execute run.bat, if we execute it manually this executable run.bat is ok, but if we try to use it from "run operating System command before message processing" it does not work (it does not create the sal.txt file in the operating system)

we are wondering if that is because file sal.txt in the field "file name" of "file access parameters" does not exist in the operating system before the file run.bat runs.

Any clue about this?.

Regards

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member192892
Active Contributor
0 Kudos

HI Maru,

Why don't you try to run this command from the sender directory specified in your sender file adapter in your command prompt??

Does that result in success???

And also, Instead of using a .bat fie, use the following command

COPY "C:\MyFolder\file1.txt" + "C:\MyFolder\file2.txt" +"C:\MyFolder\file3.txt" "C:\MyFolder\sal.txt"

Former Member
0 Kudos

>>>sysinfo: files to join, file1, file2, file3 output after joining the files should be sal.txt and the executable file is run.bat

Do you get any error msg in RWB?

ALso. the bat file should exist in XI server and not in a FTP location. Is this what is your setting?

Regards,

Jai Shankar