Hello Sir/Madam,
I have created batch file containing following line
start %CD%\proj\bin\Proj\ConsoleApplication.exe"
but this gives following error, though file is at same location.
Unhandled Exception: System.ComponentModel.Win32Exception: The system cannot find the file specified
Please help...
Thanks and Regards,
Sachin
Loading
VulpesPosted Jun 4, 2012, 11:54 AM
Try this instead:
start /d \debug\bin\Debug ConsoleApplication.exe
sachin dimbrePosted Jun 7, 2012, 3:13 AM
sachin dimbrePosted Jun 4, 2012, 11:20 AM
I have tried differently as follows and now it specifically says that file not found...
start "%CD%\debug\bin\Debug" ConsoleApplication.exe
Error says...
Windows cannot find 'ConsoleApplication.exe'. Make sure you typed the name correctly, and then try again.
Sorry for dumb question but its really blocking me.
Thanks and Regards,
Sachin
VulpesPosted Jun 4, 2012, 10:22 AM
I'd try specifying the batch file's full path, if you're not doing that already.