cancel
Showing results for 
Search instead for 
Did you mean: 

receiver file adapter command line

Former Member
0 Kudos

hi,

i am just wondering how to use command line on receiver file adapter.

i am not clear how to use this.

please modify on the following command!

anyway, i have to call java application after put some files by receiver file adapter.

cmd.exe %Fjava ./javacalltest

it did not work..

please guide me.

Command Line

An operating system command specified here is executed before or after a file has been successfully processed. The default value is an empty character string (no command).

When the operating system command is called, the file name currently being processed can be specified with the following placeholders:

%f (file name)

%F (absolute file name including path)

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Ogawa,

Did you solve your problem? If yes, can you tell me the details (the command line, and where you put your jar).

Because I have to call a java application too.

Thanks in advance,

Laurence

Former Member
0 Kudos

Hi Ogawa and Laurence,

Have look at :: /people/michal.krawczyk2/blog/2007/02/08/xipi-command-line-sample-functions

1)Windows batch Commands::

http://labmice.techtarget.com/articles/batchcmds.htm

2)Linux:

/people/michal.krawczyk2/blog/2005/08/17/xi-operation-system-command--error-catching

Note:: First try using the comands on O.S if they work then only use them in Adapters.

Hope it will help.

regards

Piyush

Pl:reward some points if it is usefull.

Former Member
0 Kudos

Hi ,

Check this weblog...

/people/michal.krawczyk2/blog/2005/08/17/xi-operation-system-command--error-catching

Sekhar

Former Member
0 Kudos

hi

i already got this url, i am still not clear on it and i can not find log at MDT whether my command line was run or not in order to got something wrong.

does anyone has such experience?

\

thanks

ogawa

former_member206604
Active Contributor
0 Kudos

Hi,

First try calling it directly instead of any variable substitution. Use some simple commands like "MD test" this will create a directory called test. Then proceed further.

Thanks,

Prakash