I am writing a batch file to automatically run some EXE and exit the message comes in console
"Press any key to continue .. "
The batch file contains following code:
D:\\Tethys\\SVN\\build\\vs2010\\ReleaseWin32\\bin\\TethysDatabaseUtility.exe install D:\Tethys\DatabaseInstaller\DatabaseInstaller\RGTestingUtility.cab "" NDI-LAP-262\SQL2008R2 TestDB-Neeraj N sa Brick@123 /c h:
D:\\Tethys\\SVN\\build\\vs2010\\ReleaseWin32\\bin\\TethysDatabaseUtility.exe install D:\Tethys\DatabaseInstaller\DatabaseInstaller\RGTestingUtilityTestCases.cab "" NDI-LAP-262\SQL2008R2 TestDB-Neeraj N sa Brick@123
D:\\Tethys\\SVN\\build\\vs2010\\ReleaseWin32\\bin\\TethysDatabaseUtility.exe install D:\Tethys\DatabaseInstaller\DatabaseInstaller\RGTestingUtilityBaseLineData.cab "" NDI-LAP-262\SQL2008R2 TestDB-Neeraj N sa Brick@123
The exe using in bat file is a console application and code written
installer.run();
Console.WriteLine("Press any key to exit.");
Console.ReadKey();
the above code is requirement so i do not change the code,since that console exe is call some other application also.
Please help to exit installer.
After adding echo(|
I have received following error on console
.