Skip to content

CMD err

zplutor edited this page Oct 1, 2023 · 3 revisions

err

Shows error message for specified system error code.

Usage

err <code>

code is a value returned by GetLastError() function, or a HRESULT returned by COM interfaces. Note that not all COM errors are supported.

code can be a signed or unsigned decimal integer, or a hexadecimal prefixed with x or 0x. It will be converted to a 32bit unsigned integer to find the corresponding error message.

Example

Show system error message:
err 5

Show COM error message:
err 0x80070057

Show COM error message with signed decimal:
err -2147024888

Clone this wiki locally