cancel
Showing results for 
Search instead for 
Did you mean: 

Operating Sytem Command

Former Member
0 Kudos

Hi

While using OS Commands do we always have to convert the file into batch file ? How do we convert the file saved in text format to batch ? And after converting do I have to change the file location so as the XI server would pick it up ? I am using a Windows OS. Do I need to know some scripting language to work with OS commands ?

Radhika

Accepted Solutions (1)

Accepted Solutions (1)

santhosh_kumarv
Active Contributor
0 Kudos

>>While using OS Commands do we always have to convert the file into batch file ? How do we convert the file saved in text format to batch ?

For a Windows based system you need to have a .bat file. Just save it a this exension.

>>And after converting do I have to change the file location so as the XI server would pick it up ?

Yes. The file should be accessible by the NFS file adapter, hence should be in a XI server path....

Refer my Blog [Glimpse at OS Command: Yet Another Scenario|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/10392] [original link is broken] [original link is broken] [original link is broken];, this is done with shell script that will execute on a linux OS, however in your scenario you will need a batch file..

~SaNv...

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Radhika,

If you are using Windows OS you will need a BAT file or command file to execute your OS commands, no other scripting programs or languages are required.

To convert a text file to a BAT file, you can simply rename it to .bat. No special conversion is required.

As per my understanding, for XI server to pick it up and execute, you will need to place the file on the XI server drives and specify tits full path in the command line argument.

Regards,

Alka.