cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to run a Batch File Operating System Command

0 Kudos

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?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

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

Note: reward points if solution found helpfull

Regards

Chandrakanth.k

Former Member
0 Kudos

Hi,

Check the thread

Thanks,

Madhu