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

VulpesRank #55 · 29.2K reputationPosted Jun 4, 2012, 7:54 AM EDT
Try this instead:
start /d \debug\bin\Debug ConsoleApplication.exe
VulpesRank #55 · 29.2K reputationPosted Jun 4, 2012, 6:22 AM EDT
I'd try specifying the batch file's full path, if you're not doing that already.
sachin dimbre15 reputationPosted Jun 4, 2012, 7:20 AM EDT
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
sachin dimbre15 reputationPosted Jun 6, 2012, 11:13 PM EDT