Amicuk Programming Answers

Unable to run a Batch File Operating System Command

2015-10-11   Views:2


Using XI 3.0, I am unable to run a Batch File Operating System Command After Message Processing. My Batch file: gpg -se -r BOA3RSKY --armor --passphrase-fd 0 %1 < C:\Progra~1\GNU\GnuPG\gpgin My Command Line (ID scenario) exec "cmd.exe /c C:\Progra

Using XI 3.0, I am unable to run a Batch File Operating System Command After Message Processing.
My Batch file:
gpg -se -r BOA3RSKY --armor --passphrase-fd 0 %1 < C:\Progra~1\GNU\GnuPG\gpgin
My Command Line (ID scenario)
exec "cmd.exe /c C:\Progra~1\GNU\GnuPG\boagpg.bat %F"
If I execute
exec "cmd.exe /c type C:\Progra~1\GNU\GnuPG\boagpg.bat >xis.txt"
It displays the contents of boagpg.bat file in xis.txt.
I just don't understand why when I run the batch file, I would expect an %F.asc encrypted file in the same directory as the %F unencrypted file.
Any ideas?
or will I need Basis to create commands that will allow me to run GPG from XI Command Line?

The replay answer
Check this links if its helpful
Check this thread a similar problem
Process Integration (PI) & SOA Middleware
Note 841704 - XI File & JDBC Adapter: Operating system command
Try to see the below links
OS Command on FTP
OS command line script - Need help
FTP - Run OS Command before file processing
Note: reward points if solution found helpfull

Go to See the other 3 answers

Unable to run a Batch File Operating System Command

Category:DefaultRelease time:2015-10-11Views:130

Using XI 3.0, I am unable to run a Batch File Operating System Command After Message Processing. My Batch file: gpg -se -r BOA3RSKY --armor --passphrase-fd 0 %1 < C:\Progra~1\GNU\GnuPG\gpgin My Command Line (ID scenario) exec "cmd.exe /c C:\Progra[More]

Is it possible to call operating system command after file receive?

Category:DefaultRelease time:2015-10-11Views:130

Hi expert, I'm trying to call operating system command after file receive receive a txt file. operating system command uses txt file name as parameter. Is it possible? How? Thanks.Hi, It should be possible, actually we have two options t[More]

Running a batch file - VERY URGENT .. help

Category:DefaultRelease time:2015-10-11Views:130

Hi people I am attempting to run a batch file from with a JSP page. the code i am using is: Runtime runtime = Runtime.getRuntime(); Process process = runtime.exec("cmd.exe /c d:\\uploadfiles.bat"); This jsp file is located on the c: of a webserv[More]

Filestream Creation Unable to Open Physical File Operating System Error 259

Category:DefaultRelease time:2015-10-11Views:130

Hey Everybody, I have run out of options supporting a customer that is having an error when creating a database with a file stream.  The error displayed is unable to open physical file operating system error 259 (No more data is available).  We're us[More]

File Receiver Adapter:Run Operating System COmmand after message Processig:

Category:DefaultRelease time:2015-10-11Views:130

Dear All, I have gone through this link [] But i have a problem. In the scenario which we have, File name is DYNAMICALLY GENERATED by a UDF I want to call th[More]

Run operating system command for sender File adpter (NFS)

Category:DefaultRelease time:2015-10-11Views:130

Hi All, iam doing a file to RFC scenario, using 'Run operating system command' in sender file adapter to change the file name while archiving (after processing completed). I mention OS command like this: sample_server\scripts\Test\Rename.bat" Rename.[More]

Operating system command in file receiver adapter

Category:DefaultRelease time:2015-10-11Views:130

Hi, How to use the Run Operating system command after message processing option in the parameters tab of the file receiver adapter. I am working on a scenario wherein a batch file needs to be invoked after the file is written on the file system. So h[More]

Running a Batch File on another Server with an Oracle Job

Category:DefaultRelease time:2015-10-11Views:130

hi, i have the following code BEGIN DBMS_SCHEDULER.CREATE_JOB ( job_name => 'test_job_bat', job_type => 'EXECUTABLE', job_action => '\\\test\test.bat', enabled => true, comments => 'test bat' END; So i want to run a batch file, whi[More]

Trying to run a batch file in ODI and the file is on a windows network drive.

Category:DefaultRelease time:-0001-11-30Views:130

Hi, I'm trying to run a batch file that is located on a windows shared drive for the ODI server. When I try to run the file through OS command by giving the file path in the "command line". I get the error " ODI-1226: Step fails after 1 att[More]

File Adapter 7.11 - set operating system command line dynamically

Category:DefaultRelease time:2015-10-11Views:130

Hi, is there any way to set the "Operating System Command Line" in the file adapter as ASMA / dynamic attribute? I need to set  a command line exec depending on some XSL mapping values. thx holgerhi, >>>is there any way to set the "[More]

Operating System Command After File Processing in Sender File Adapter

Category:DefaultRelease time:2015-10-11Views:130

Hello guys, actually we have different interfaces, and the client to take all the files from only one directory, for example D:/DPI. Unitl now we had one adapter for every file with the content conversion, so we didn't have problems with that. Now we[More]

Does anyone have any ideas how my unsigned applet could remember the username and password entered by a user? Previously, I was using a signed applet so could store the username and password in a persistent text file, but now I need to provide an uns [More]
Hello forum. I've got a Macbook pro (model 2010), and are wondering what the price are for replacing a battery at apple repairs, outside the warrenty period (i've bought the MBP at And are there any danes that have tried getting a battery [More]
I recently traveled overseas with my family to a time zone that was +4:30 from my current location. During our trip I took 800+ photographs from my digital camera, 60+ from my iPhone and lots of video from my camcorder. It didn't occur to me until I [More]
Now, whenever I play a sequence, the program monitor freezes during playback.  It usually happens at a cut, but not always the same cut, it is random.  The monitor just freezes, but the sound and CTI keep on going.  This happens repeatedly.  Mac Pro [More]
Hello. I got a problem with my G4 quicksilver, 10.4.5. Sometimes it doesn't wake from sleep. I did all the maintenance things (with onyx, and pram zapping) but sometimes it still can't wake up. I tryed to reset the open firmware by doing cmd opt O F [More]
since MM is in saturation stage. please provide me some important new technologies in SAP MM that we need to concenterate. thank you in advanceDear, Since you mentioned as SAP Support Consultant, this usually refer to Level 2 support activities in or [More]
First question is how can I override the default constructor (or add an exception to it). I have an object like this create or replace type date_object as object      (quarter     number,      year          number(4),      member procedure set_date(d [More]
I was invited to download Mozilla/5.0 and have done. Can you please tell me what it is used for as my firefox revision is 3.6.18 Best Rgds, BobTo Contact iTunes Customer Service and request assistance Use this Link  >  Apple  Support  iTunes Store  C [More]
I have a G4 running OS 10.3.9, and there is an HP 6MP printer attached. It is on a network with a mess of Windows XP machines, and I want to be able to share the printer with them. I did all of the standard steps (enable Printer Sharing, etc), and se [More]
Hi all, Could you please tell me what is abap unit and what is its application and usage?Hi, ABAP Unit is a test tool integrated in the ABAP runtime environment that you can use for executing module tests u2013 that is, for checking the functions of [More]