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.

18 lines
504 B

  1. rem create a file on each DC.
  2. rem
  3. for %%x in (%*) do (
  4. echo test%%x > \\ntdsdc%%x\sysvol\ntdev.microsoft.com\test%%x.txt
  5. echo test%%x > \\ntdsdc%%x\sysvol\enterprise\test%%x.txt
  6. )
  7. @echo --
  8. @ECHO for %%x in (%*) do (dir \\ntdsdc%%x\sysvol\ntdev.microsoft.com\test*.*)
  9. @echo --
  10. @ECHO for %%x in (%*) do (dir \\ntdsdc%%x\sysvol\enterprise\test*.*)
  11. @echo --
  12. @echo del \\ntdsdc%1\sysvol\ntdev.microsoft.com\test*.*
  13. @echo --
  14. @echo del \\ntdsdc%1\sysvol\enterprise\test*.*
  15. @echo --