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.

32 lines
649 B

  1. rem make a scratch test tree on drive %1 with label %2 server_name %3
  2. rem mktstvol drive_letter vol_label server_name
  3. rem e.g. mktstvol t: davidor6_T serv01
  4. echo %2> fmt.ans
  5. echo y >> fmt.ans
  6. format %1: /fs:ntfs /v:%2 /q < fmt.ans
  7. del fmt.ans
  8. pushd .
  9. cd /d %1:\
  10. md \sub1
  11. md \sub1\sub2
  12. md \tmp
  13. md \staging
  14. md \Replica-A\%3
  15. md \jet
  16. md \jet\%3
  17. md \jet\%3\sys
  18. md \jet\%3\temp
  19. md \jet\%3\log
  20. rem xcopy /hice E:\nt\private\net\svcimgs\ntrepl\fooref \sub1\sub2\foo1
  21. rem xcopy /hice E:\nt\private\net\svcimgs\ntrepl\fooref \sub1\sub2\foo2
  22. rem xcopy /hice E:\nt\private\net\svcimgs\ntrepl\fooref \sub1\foo3
  23. popd