c# - Exiting from a Batch Script -


i have batch script using run c# application command line arguments : application.exe arg1 arg2 arg3.

how can exit batch script on condition occured due execution of application.exe arg1 arg2 arg3.

example batch script looks  :start echo cycle %count% application.exe arg1 arg2 application.exe arg3 arg4 .. .. .. .. 10 commands count = count+1 if %count% < 10 goto start :endloop 

depending on condition want exit batch script (say application.exe arg6 arg7 calls functionxx() on return value of functionxx()?

how can accomplish this?


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -