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
676 B

  1. @echo off
  2. rem
  3. rem simple script for checking new hive files into the tree
  4. rem
  5. set _SRC_DIR_=%1
  6. if "%_SRC_DIR_%"=="" goto _usage
  7. call :_copy AppEvent.Evt
  8. call :_copy default
  9. call :_copy default.sav
  10. call :_copy SAM
  11. call :_copy SecEvent.Evt
  12. call :_copy SECURITY
  13. call :_copy software
  14. call :_copy software.sav
  15. call :_copy SysEvent.Evt
  16. call :_copy system
  17. call :_copy system.sav
  18. call :_copy userdiff
  19. echo Don't forget to submit ...
  20. goto :eof
  21. :_copy
  22. sd edit bins\%1
  23. copy %_SRC_DIR_%\%1 bins
  24. goto :eof
  25. :_usage
  26. echo newhives ^<srcdir^>
  27. echo srcdir - hive path of recent 32-bit install
  28. echo (e.g. \\test32\c$\windows\system32\config)
  29. goto :eof