WHY(1) DOS COMMANDS WHY(1) NAME WHY : To know why the last command failed. SYNOPSIS WHY TEMPLATE WHY PATH: Internal. DESCRIPTION: WHY tells why the last command failed. Most command print a diagnostic when their fail, but if the output is redirected in a file or in NIL:, it might never appears on the screen. WHY is then useful to know what went wrong, especially to understand why a script file failed. What WHY does is simply to retrieve the error code of the last command and pass it to the FAULT command. This means that why does not work if the FAULT command is missing. SEE ALSO: FAULT, FAILAT. EXAMPLE: > list >nil: xzwqhky > WHY Last command failed because object not found