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.

47 lines
909 B

  1. @echo off
  2. setlocal
  3. if "%SDXROOT%"=="" goto NO_ENV
  4. if "%_NTTREE%"=="" goto NO_ENV
  5. set LOC_ROOT=%_NTTREE%\..\lang
  6. set LOC_EDB=%LOC_ROOT%\edb
  7. set LOC_BIN=%LOC_ROOT%\bin
  8. if not exist %LOC_BIN%\nul goto NO_LOC
  9. set ESE_SRCROOT=%SDXROOT%\ds\ese98
  10. set TOKEN_DIR=%ESE_SRCROOT%\lang\token
  11. set INI_DIR=%ESE_SRCROOT%\lang\ini
  12. echo.
  13. echo ========================================
  14. echo Updating tokens...
  15. sd edit %TOKEN_DIR%\*
  16. for /r %LOC_BIN% %%i in (esent_*.dl_) do copy %%~pi\esent_*.dl_ %TOKEN_DIR%
  17. echo.
  18. echo ========================================
  19. echo Updating INI file...
  20. sd edit %INI_DIR%\*
  21. copy %LOC_BIN%\esentprf.ini* %INI_DIR%
  22. echo.
  23. echo ========================================
  24. echo DONE!
  25. echo.
  26. goto END
  27. :NO_ENV
  28. echo.
  29. echo Your NT build environment has not been initialised.
  30. echo.
  31. goto END
  32. :NO_LOC
  33. echo.
  34. echo Localised binaries are missing. Run GENLOC.BAT to generate localised binaries.
  35. echo.
  36. :END