Source code of Windows XP (NT5)
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.

45 lines
1.1 KiB

  1. @ECHO OFF
  2. REM creates a checksum file for the UK LOCALSLM library
  3. REM 1. Create the corresponding file at the other end
  4. REM replace the \\sysuk1\src\src path with the correct path
  5. REM to each library on your machine and run it.
  6. REM 2. chop off the left hand end of the output file e.g. convert
  7. REM \\sysuk1\src\src\contrast\cont.c ==> 4724266e
  8. REM to
  9. REM contrast\cont.c ==> 4724266e
  10. REM e.g. in slick mark all lines and Alt+F7 a few times
  11. REM else use your own favo(u)rite editor
  12. REM 3. Compare the two files.
  13. if .%1==. goto notarget
  14. if .%1==.-? goto bad
  15. if .%1==./? goto bad
  16. if .%1==.? goto bad
  17. if .%2==. goto ok
  18. echo Too many arguments
  19. goto bad
  20. :ok
  21. walk /f \\sysuk1\src\src\contrast checksum %%s > %1
  22. walk /f \\sysuk1\src\src\sdk checksum %%s >> %1
  23. walk /f \\sysuk1\src\src\shell checksum %%s >> %1
  24. walk /f \\sysuk1\src\src\sounddd checksum %%s >> %1
  25. walk /f \\sysuk1\src\src\ukmedia checksum %%s >> %1
  26. goto done
  27. :notarget
  28. echo no targetfile given
  29. :bad
  30. echo chklib filename
  31. echo walks the library and creates checksum file in filename
  32. goto done
  33. :done