Help for this page

Select Code to Download


  1. or download this
    c:\test\xx>diff junk5.png junk6.png >nul & echo %errorlevel%
    0
    ...
    c:\test\xx>diff junk5.png junk4.png >nul & echo %errorlevel%
    1
    
  2. or download this
    If you'd like to manually inspect system's failure, you can check all 
    +possible failure modes by inspecting $? like this:
        if ($? == -1) {
    ...
        else {
            printf "child exited with value %d\n", $? >> 8;
        }