Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0DDA2D62B for ; Tue, 18 Dec 2012 15:17:55 +0000 (UTC) Received: (qmail 41808 invoked by uid 500); 18 Dec 2012 15:17:54 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 41766 invoked by uid 500); 18 Dec 2012 15:17:54 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Delivered-To: moderator for derby-dev@db.apache.org Received: (qmail 64918 invoked by uid 99); 18 Dec 2012 09:16:42 -0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 216.139.250.139 is neither permitted nor denied by domain of jadhao.aniruddha@gmail.com) Date: Tue, 18 Dec 2012 01:16:15 -0800 (PST) From: aniderbian To: derby-dev@db.apache.org Message-ID: <1355822174819-125897.post@n7.nabble.com> Subject: Exit value of ij tool on command prompr MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hello, I am running a windows batch script in which I have a need to fire below command *java -jar ..\db-derby-10.9.1.0-lib\lib\derbyrun.jar ij sql_file.txt *. Now after firing above command I want to check return exit status to capture the success/failure of it . Or if there is any alternative way to achieve this please suggest. Thanks -- View this message in context: http://apache-database.10148.n7.nabble.com/Exit-value-of-ij-tool-on-command-prompr-tp125897.html Sent from the Apache Derby Developers mailing list archive at Nabble.com.