I have a 6 batch files(sample1.bat, sample2.bat, sample3.bat, sample4.bat, sample5.bat, sample6.bat) which will be executed one after the other. I have an if condition in the 3rd batch file(sample3.bat).
If this IF condition failed I want to block the execution of remaining batch files (sample4.bat, sample5.bat, sample6.bat)
Please help.. Thanks in advance