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.

13 lines
643 B

  1. @ECHO OFF
  2. grep ">" sapireg.txt | grep -v REG_MULTI_SZ | grep -v Installer | grep -v CurrentVersion | grep -v Uninstall | grep -v Users | grep -v ControlSet | grep -v Cryptography | grep -v HKEY_USERS > reg1.tmp
  3. type reg1.tmp | grep -v "\"InprocServer32\"" | grep -v "Sample" | grep -v "MSASREnglish" | grep -v "SREngine" > reg2.tmp
  4. del reg1.tmp
  5. gawk -f reg.awk reg2.tmp | sed -f windows.sed > reg.tmp
  6. del reg2.tmp
  7. type reg.tmp > sapi5.inf
  8. ECHO Created test sapi5.inf file.
  9. ECHO.
  10. ECHO Please inspect for discepancies:
  11. ECHO 1. Remove all SR references.
  12. ECHO 2. UPDATE CHINESE AND JAPANESE PHONEMAPS TO USE MULTISZ!
  13. ECHO.
  14. del reg.tmp