Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling Batch Script with Paramters from Mercator

Status
Not open for further replies.

jackforceus

Programmer
Apr 4, 2003
9
0
0
US
If I want to pass the Field1 and Field2 of the output card in the Batch Command, how do I do it.
can I call it like 'script1 Field1 Field2'?
 
If I want to call the script from the rule itself,How do I do it?

Note: The script has to be called with 2 parameters Field1 and Field2
 
=put("BAT","batchfile.bat Field1 Field2"," ")
 
Remember, PUT has almost no error handling. When using Batch in the target of a card, the values in the card are sent to the adapter.


BocaBurger
<===========================||////////////////|0
The pen is mightier than the sword, but the sword hurts more!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top