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.

43 lines
1.3 KiB

  1. @echo off
  2. Rem
  3. Rem #########################################################################
  4. Rem
  5. Rem �q�n�����o Lotus Wordpro 9 �w�˦��m�C
  6. Rem
  7. ..\ACRegL "%Temp%\wordpro.Cmd" WP "HKLM\Software\Lotus\Wordpro\98.0" "Path" ""
  8. Call "%Temp%\wordpro.Cmd"
  9. Del "%Temp%\wordpro.Cmd" >Nul: 2>&1
  10. Call "%SystemRoot%\Application Compatibility Scripts\RootDrv.cmd"
  11. if Exist "%RootDrive%\Lotus" Goto Done
  12. cd "%SystemRoot%\Application Compatibility Scripts\Logon"
  13. call TsMkUDir "%RootDrive%\Lotus\Work\123\Auto"
  14. call TsMkUDir "%RootDrive%\Lotus\work\approach"
  15. call TsMkUDir "%RootDrive%\Lotus\work\flg"
  16. call TsMkUDir "%RootDrive%\Lotus\backup\flg"
  17. call TsMkUDir "%RootDrive%\Lotus\work\organize"
  18. call TsMkUDir "%RootDrive%\Lotus\backup\organize"
  19. call TsMkUDir "%RootDrive%\Lotus\work\smartctr"
  20. call TsMkUDir "%RootDrive%\Lotus\work\wordpro"
  21. call TsMkUDir "%RootDrive%\Lotus\backup\wordpro"
  22. Rem �p�G Lotus Wordpro �å��w�ˡA�N���L�o�ӨB�J�C
  23. If "%WP%A" == "A" Goto Skip1
  24. Rem set the registry keys defined in the following files because for some reasons, wordpro doesn't set them
  25. set List1="%WP%\expcntx.reg" "%WP%\ltsfills.reg" "%WP%\ltscorrt.reg" "%WP%\lwp4wp.reg" "%WP%\lwp4wpex.reg"
  26. set List2="%WP%\lwpdca.reg" "%WP%\lwphtml.reg" "%WP%\lwpimage.reg" "%WP%\lwptools.reg"
  27. regedit /s %List1% %List2%
  28. :Skip1
  29. regedit /s ss9usr.reg
  30. :Done