> We're talking about two different things and it makes a difference if /b > is used or not: > > prompt> echo exit /b 1 > 1.bat > prompt> cmd /c 1.bat > prompt> echo %errorlevel% > 0 > > prompt> echo exit 2 > 2.bat > prompt> cmd /c 2.bat > prompt> echo %errorlevel% > 2 Oh, yes, we are talking about slightly different things. Now we have a prove. At least I think we gave some samples about nearly every usage of 'exit [/b]' :-) So everybody should be able now to chose the correct usage for his needs. Thanks, Rainer |