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]

After updating to Firefox 3.6 and attempting to follow the link to update Flash player (the link was broken), Firefox began to work VERY slowly. I closed the browser and, when I tried to open it again, it took in excess of 30 minutes to open, which i [More]
I am trying to transfer songs from my iPod touch to my computer and can not figure out how to do it. I also want to transfer the songs I have back in to iTunes. My hard drive went out on my computer and I lost all of my songs, except for on my iPod. [More]
For some reason the computers that are connected via wired or wireless through my WRT54G Vers. #6 (Firmware Version v1.02.8) will not connect for updates (Error Codes: 80072EE2-Win7, 80072EFD-Vista) especially OS, anti-virus, malware updates.  This l [More]
I get this message when trying to send my messages on certain wireless networks. The connection to the server "" on port 25 timed out. You can try to send using a different server. All messages will use this server until you quit or [More]
.log file ERROR ExecuteThread: '11' for queue: 'weblogic.kernel.Default' XELLERATE.SERVER - Class/Method: tcRCE/createUserRecord encounter some problems: {1} java.lang.NullPointerException      at com.thortech.xl.dataobj.util.tcAttributeSource.getAtt [More]
I ahve a report that is for variable based on the parameters selected. Parameter 1 is TableName, it lets the user select the table from the database that they would like to see the clolumns for. From there the second parameter is the Column names fro [More]
I am using a NI x series 6343 andcounting pulses, but when i try to stop the counter with a boolean operator nothing happens, ihave to go and use abort execution,  Help the stop sign does not do anything, it just stops after the timeout. Which is exa [More]
When I try to open a pdf that is emailed to me or on my flashdrive, i get the message "There was an error during Initialization. An internal error occurred". I have to save it to desktop and then I can open it. I have deleted and re-installed Ad [More]
Hello Gurus, At the part   'Analysis of DB SQL CACHE'   of our EWA report. I can't undstand some technique terms clearly. For instance: 'CPU Load [%]',  'I/O Load [%]',  'Elapsed Time [%]',  'Executions',  'Records Processed'. I want to know their sp [More]
I have a WCF endpoint that I would like to subscribe to multiple topic/subscriptions with the same interface.  Then once it gets to the .svc, route based on the brokered message properties.  (This is sort of how we have it set up in Neuron ESB with s [More]