Patel,
Add the following to your script, after each critical command:
".IF ERRORCODE != 0 THEN .QUIT 1"
Don Gross
Recent Threads
Attachments
Library
Quick Reference
Useful Links
Rules of Conduct
FAQs
Join the Forum
Archives
Sample Index
2007 Indexes