do i=0 to 0xFFFFFFFF set text=%@errtext[%i] iff "%text" NE "" then echo %i %text >> winerrors.txt endiff enddo
v:\> head winerrors.txt 0 The operation completed successfully. 1 Incorrect function. 2 The system cannot find the file specified. 3 The system cannot find the path specified. 4 The system cannot open the file. 5 Access is denied. 6 The handle is invalid. 7 The storage control blocks were destroyed. 8 Not enough storage is available to process this command. 9 The storage control block address is invalid. v:\> tail winerrors.txt 590612 The function completed successfully, but both CompleteToken and this function must be called to complete the context 590613 The logon was completed, but no network authority was available. The logon was made using locally known information 590615 The context has expired and can no longer be used. 590624 The credentials supplied were not complete, and could not be verified. Additional information can be returned from the context. 590625 The context data must be renegotiated with the peer. 590627 There is no LSA mode context associated with this context. 590684 A signature operation must be performed before the user can authenticate. 590688 The recipient rejected the renegotiation request. 590692 The returned buffer is only a fragment of the message. More fragments need to be returned. 593938 The protected data needs to be re-protected.
v:\> echo %@errtext A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.