NANT task <exec program="CMD.EXE" exception:
When you use NANT to execute a bat file, use the <arg … /> tag to set parameters and use the workingdir to change the current path location, like: <exec program="CMD.EXE" commandline="/C DatabaseInstallation.cmd" workingdir="${installPath}"> <arg