ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Batch file execution fails on Win XP with java.io.Exception error=2
Date Thu, 19 Jan 2006 20:14:11 GMT
On Wed, 18 Jan 2006, Ramesh M. <ramesh_mbabu@yahoo.com> wrote:

> Where the "somebatchfile" comes from the build file.  It does not
> have any extension.  On executing it on Windows XP I get the
> following error Cannot execute C:\somebatchfile:

You have to execute cmd.exe in order to run batch files without
extensions.  In general error=2 means "command not found" on Windows.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message