I found them some time back using "set /?".

%ERRORLEVEL% was available in NT 4 (although it is not mentioned), the others appeared in Win2K.

If you set the environment variables yourself then they override the dynamic ones, so any scripts you have that use them will continue to work.