Rob van der Woude's Scripting Pages
Powered by GeSHi

Source code for errormsg.bat

(view source code of errormsg.bat as plain text)

  1. @ECHO OFF
  2. TYPE NUL > ErrorMsgAll.txt
  3. FOR /L %%A in (0,1,0x4000) DO (
  4. 	TITLE Trying: NET HELPMSG %%A
  5. 	FOR /F "tokens=*" %%B IN ('NET HelpMsg %%A 2^>NUL') DO (
  6. 		>> ErrorMsgAll.txt ECHO.%%A	%%B
  7. 	)
  8. )
  9.  

page last modified: 2024-04-16; loaded in 0.0119 seconds