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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using the echo command in batch file...

Status
Not open for further replies.

new2game

Programmer
Jan 20, 2004
10
US
Running map outside event server (using a batch file). Running fine but now need to capture runmap return code.

Here's a sample of script before modification.

mercnt path\runmap -IF1 path\file -OF1 path\file -b

Two example using echo below.

-IE1 path\file -OE1 path\file

and Echo(-IF1 path\file -OF1 path\file)

The command server window shows 'map not found'. Looks like it runs runmap OK but fails trying to find where return code needs to go.

Can I echo back return code to batch file or java class? What am I missing?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top