Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
385 B

  1. @echo on
  2. REM \logs\chkelog <domain_name>
  3. set dom_name=%1
  4. nltest /dclist:%dom_name% > dclist.tmp
  5. del dclist1.tmp
  6. FOR /F "eol=; tokens=1 delims=, " %%i in (dclist.tmp) do (
  7. @echo %%i >> dclist1.tmp
  8. )
  9. del /q chkelog.txt
  10. FOR /F "eol=. tokens=1 delims=. " %%i in (dclist1.tmp) do (
  11. @echo %%i
  12. readel ntfrs -computer=%%i -numrec=50 >> chkelog.txt
  13. )