ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Batch file execution fails on Win XP with error=2
Date Thu, 19 Jan 2006 20:14:11 GMT
On Wed, 18 Jan 2006, Ramesh M. <> 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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message