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

rem create a file on each DC.
rem
for %%x in (%*) do (
echo test%%x > \\ntdsdc%%x\sysvol\ntdev.microsoft.com\test%%x.txt
echo test%%x > \\ntdsdc%%x\sysvol\enterprise\test%%x.txt
)
@echo --
@ECHO for %%x in (%*) do (dir \\ntdsdc%%x\sysvol\ntdev.microsoft.com\test*.*)
@echo --
@ECHO for %%x in (%*) do (dir \\ntdsdc%%x\sysvol\enterprise\test*.*)
@echo --
@echo del \\ntdsdc%1\sysvol\ntdev.microsoft.com\test*.*
@echo --
@echo del \\ntdsdc%1\sysvol\enterprise\test*.*
@echo --