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.

42 lines
2.9 KiB

  1. @echo off
  2. rem This batch file will enable a previously installed Windows NT 3.5 system
  3. rem to use the correct fonts for all non-code page 1252 locales.
  4. rem
  5. @echo If your 3.5" floppy drive is B:, please enter SETUP B:
  6. pause
  7. set flpydrv=
  8. set wrk_srv=
  9. set flpydrv=%1
  10. if "%1"=="" (if exist a:\fontsup.bat set flpydrv=a:)
  11. if "%flpydrv%"=="" goto nofloppy
  12. @echo Copying font files....
  13. call expand %flpydrv%\system\*.fon %systemroot%\system >%systemroot%\fontsup.log
  14. call expand %flpydrv%\%processor_architecture%\kbdsel.ex_ %systemroot%\system32\kbdsel.exe >>%systemroot%\fontsup.log
  15. call expand %flpydrv%\%processor_architecture%\kbddll.dl_ %systemroot%\system32\kbddll.dll >>%systemroot%\fontsup.log
  16. if exist %systemroot%\lanmannt.bmp set wrk_srv=srv
  17. if "%wrk_srv%"=="" set wrk_srv=wrk
  18. if "%wrk_srv%"=="wrk" call expand %flpydrv%\%processor_architecture%\language.in_ %systemroot%\system32\language.inf >>%systemroot%\fontsup.log
  19. if "%wrk_srv%"=="srv" call expand %flpydrv%\%processor_architecture%\language.sr_ %systemroot%\system32\language.inf >>%systemroot%\fontsup.log
  20. call expand %flpydrv%\system32\registry.in_ %systemroot%\system32\registry.inf >>%systemroot%\fontsup.log
  21. call expand %flpydrv%\%PROCESSOR_ARCHITECTURE%\sublocal.ex_ %systemroot%\system32\sublocal.exe >>%systemroot%\fontsup.log
  22. if not exist %systemroot%\system\appfonts md %systemroot%\system\appfonts >>%systemroot%\fontsup.log
  23. if not exist %systemroot%\system\appfonts\Cyrillic md %systemroot%\system\appfonts\Cyrillic >>%systemroot%\fontsup.log
  24. if not exist %systemroot%\system\appfonts\TURKISH md %systemroot%\system\appfonts\TURKISH >>%systemroot%\fontsup.log
  25. if not exist %systemroot%\system\appfonts\EasternEurope md %systemroot%\system\appfonts\EasternEurope >>%systemroot%\fontsup.log
  26. call expand %flpydrv%\appfonts\serife.cyr %systemroot%\system\appfonts\Cyrillic\serife.fon >>%systemroot%\fontsup.log
  27. call expand %flpydrv%\appfonts\coure.cyr %systemroot%\system\appfonts\Cyrillic\coure.fon >>%systemroot%\fontsup.log
  28. call expand %flpydrv%\appfonts\ARIAL.tur %systemroot%\system\appfonts\TURKISH\ARIAL.fon >>%systemroot%\fontsup.log
  29. call expand %flpydrv%\appfonts\COUR.tur %systemroot%\system\appfonts\TURKISH\COUR.fon >>%systemroot%\fontsup.log
  30. call expand %flpydrv%\appfonts\TIMES.tur %systemroot%\system\appfonts\TURKISH\TIMES.fon >>%systemroot%\fontsup.log
  31. call expand %flpydrv%\appfonts\ARIAL.ee %systemroot%\system\appfonts\EasternEurope\ARIAL.fon >>%systemroot%\fontsup.log
  32. call expand %flpydrv%\appfonts\COUR.ee %systemroot%\system\appfonts\EasternEurope\COUR.fon >>%systemroot%\fontsup.log
  33. call expand %flpydrv%\appfonts\TIMES.ee %systemroot%\system\appfonts\EasternEurope\TIMES.fon >>%systemroot%\fontsup.log
  34. copy %flpydrv%\fontsup.bat %systemroot%\system32\fontsup.bat >>%systemroot%\fontsup.log
  35. %homedrive%
  36. %systemroot%\system32\fontsup.bat
  37. :nofloppy
  38. @echo Please specify the floppy drive letter
  39. @echo when invoking SETUP.BAT, i.e., SETUP B:
  40. pause