A free Windows-compatible Operating System - mirrored from GitHub
Go to file
Jeffrey Morlan 8cf11060a9 Various fixes to the way cmd handles errorlevel and the "return values" of commands:
- Changed type of return values from BOOL to INT, with 0 indicating success and any other value indicating failure. If the left side of an || operator returns nonzero, errorlevel is set to that value.
- The return value of a batch file or FOR is the return value of the last command executed in it. An empty batch file returns 0, unless it was CALLed, in which case it returns errorlevel.
- CALL sets errorlevel to the return value of whatever was called.
- Running a GUI program doesn't change errorlevel, but always returns 0.
- CMD /C uses the command's return value, not errorlevel, as the process exit code.

svn path=/trunk/; revision=40474
2009-04-12 23:51:15 +00:00
irc Give Techbot the ability to check for and ghost existing bots, then rename itself 2008-08-10 13:06:58 +00:00
reactos Various fixes to the way cmd handles errorlevel and the "return values" of commands: 2009-04-12 23:51:15 +00:00
rosapps remove doenloader from rosapps build 2009-04-11 20:29:31 +00:00
rostests - Reapply the gdi32 bitmap font test ROS-HACK -- the tests still fail on the build server 2009-04-11 20:15:26 +00:00
wallpaper Rename the wallpaper to conform with ISO 9660:1988 and make cdmake happy... 2009-02-03 13:26:30 +00:00