I have a master batch file that calls a sub batch file to to check OS version. EX:
Echo Checking for Updates
net use u: /delete
net use u: \\jaxback02\u$\%computername%
The sub batch file reads:
ver | find "Version 5.2" > nul
if %ERRORLEVEL% == 1 goto Win2k
Once the OS versions is determined to be Win2k then a nother script runs This all works well except after the sub batch file runs, the maaster batch file continues to process. I want all processing to stop once the sub is called.