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.

34 lines
988 B

  1. @echo off
  2. if "%1" == "" (
  3. set filelistver=
  4. set filelistsets=
  5. set filelistcs=
  6. )
  7. set testlist=1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
  8. if NOT "%1" == "" set testlist=%1
  9. for %%x in ( !testlist! ) do (
  10. rem net use \\frstest%%x /u:administrator "frstest"
  11. echo frstest%%x
  12. ntfrsutl version frstest%%x > \temp\showtest\frstest%%x-ntfrs-version.txt
  13. ntfrsutl sets frstest%%x > \temp\showtest\frstest%%x-ntfrs-sets.txt
  14. call w:\connstat -sort=name \temp\showtest\frstest%%x-ntfrs-sets.txt > \temp\showtest\connstat-%%x.txt
  15. if "%1" == "" (
  16. set filelistver=!filelistver! \temp\showtest\frstest%%x-ntfrs-version.txt
  17. set filelistsets=!filelistsets! \temp\showtest\frstest%%x-ntfrs-sets.txt
  18. set filelistcs=!filelistcs! \temp\showtest\connstat-%%x.txt
  19. )
  20. )
  21. echo start list filelistver
  22. echo start list filelistsets
  23. echo start list filelistcs
  24. start list !filelistcs!