Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Documentation @errtext[]

Apr
1,794
15
What is the highest number that would be used here - with good results?
 
I think that will depend in part on what version of Windows you're running. In the quest to create bigger, better errors, Microsoft never sleeps.

System Error Codes
 
So basically for now it would be @errtext[0..15999] .Thank you Charles....
 
There are other collections of error codes which I don't think @ERRTEXT handles, for example, COM errors, typically 0x8XXXXXXX. While there are larger ones <=15999, this is the biggest one @ERRTEXT reports on here (Win7).
Code:
v:\> echo %@errtext[15301]
The hash requested from the server is not available or no longer valid.
 
So for Windows 7 - errtext[0..15301] would be good. thanks. I think I will just do something like this:

Code:
for /l %n in (0,1,16000) (echo %@errtext[%n] > "%@format[05,%n]_err.txt")

as some are multiple lines.
 
Back
Top