Sitemap

Amicuk Programming Answers

Unable to run a Batch File Operating System Command

2015-10-11   Views:2

Advertisement

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
Advertisement
Check this links if its helpful
http://help.sap.com/saphelp_nw04/helpdata/en/bb/c7423347dc488097ab705f7185c88f/frameset.htm
/people/sap.user72/blog/2004/01/30/command-line-help-utility
Check this thread a similar problem
Process Integration (PI) & SOA Middleware
Note 841704 - XI File & JDBC Adapter: Operating system command
http://service.sap.com/sap/support/notes/841704
Try to see the below links
/people/michal.krawczyk2/blog/2005/08/17/xi-operation-system-command--error-catching
OS Command on FTP
OS command line script - Need help
FTP - Run OS Command before file processing
Note: reward points if solution found helpfull
Regards
Chandrakanth.k

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 comm.channel 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 [http://help.sap.com/saphelp_nw2004s/helpdata/EN/e3/94007075cae04f930cc4c034e411e1/content.htm] 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 => '\\10.1.1.63\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]

Hot
I just recently tried to update my ipad from ios 4 to 5 and now I am getting an error message when I try to connect it to the computer so that I can download all of my apps, etc. please help! Error message says iTunes could not connect to this iPad. [More]
How to restore a deleted Lightroom 5 catalog?That's kind of a broad question ... so I'll just start with the basics ... if you have a backup, double-click on itRead other 2 answers [More]
My HP 8610 just started complaining that it needs to connect to update HP instant ink status.  When I try to have it connect, it says there is no internet connection. However, I have solid connection light, I can get the network info from the printer [More]
Hi Experts, While doing Automatic Payment Programme in tcode F110 i analysed that the Cheque which is picked for Payment is related with Entry date of an Invoice, Is there any configuration in APP to pick the cheques for Payment from Posting Date/Doc [More]
hi all, why condition type is inactive in sales order item level. when i save invoice it shows error in pricing. pls let me know. Regards RamsYou can get a better idea by going to the sales order at the item level in the condition tab, highlight your [More]
Hi everyone,    I am having a situation as follows: I have a adobe form that is digitally signed. In Adobe 9 once it is signed, the two properties are set as - 1)Document assembly not allowed 2)Changing the document not allowed. By saving the pdf int [More]
What's the difference between VISA Configure Serial Port and VISA Configure Serial Port (Serial Instr)? LabView 7.0 Help gives no comprehensive explanation: You can use this polymorphic VI to initialize a serial port using the Instr VISA class or Ser [More]
Hi all, Mac G4, OSX Tiger, InDesign CS3 Can anyone please shed some light on a problem I have just recently run into: 1 I am attempting to append some paragraph, character and object styles whilst no documents are open, in order to have them all load [More]
I'm trying to figure out how to set the TimeZone associated with a JSpinner.DateEditor. Looks like in 1.4.1 the local TimeZone only is used. In my app I need to use other time zones. I've been through the docs and the source code, but this functional [More]
Hi All, Going forward our new servers will have the capability of aggregating multiple fiber ports into fewer connections on the SAN switch. I am told that there is a particular setting that needs to be enable on the switch for this functionality to [More]