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.

118 lines
3.4 KiB

  1. @echo off
  2. Call "%SystemRoot%\Application Compatibility Scripts\RootDrv.Cmd"
  3. if Exist "%RootDrive%\Lotus" Goto Skip1
  4. cd "%SystemRoot%\Application Compatibility Scripts\Logon"
  5. call TsMkUDir "%RootDrive%\Lotus\Work\123"
  6. call TsMkUDir "%RootDrive%\Lotus\work\approach"
  7. call TsMkUDir "%RootDrive%\Lotus\work\flg"
  8. call TsMkUDir "%RootDrive%\Lotus\backup\flg"
  9. call TsMkUDir "%RootDrive%\Lotus\work\organize"
  10. call TsMkUDir "%RootDrive%\Lotus\backup\organize"
  11. call TsMkUDir "%RootDrive%\Lotus\work\smartctr"
  12. call TsMkUDir "%RootDrive%\Lotus\work\wordpro"
  13. call TsMkUDir "%RootDrive%\Lotus\backup\wordpro"
  14. If Not Exist ss97usr.reg goto Skip1
  15. regedit /s ss97usr.reg
  16. Rem
  17. Rem #########################################################################
  18. Rem
  19. Rem Get the installation location of Lotus Wordpro from the registry.
  20. Rem
  21. ..\ACRegL "%Temp%\wordpro.Cmd" WP "HKLM\Software\Lotus\Wordpro\97.0" "Path" ""
  22. If Exist "%Temp%\wordpro.Cmd" Call "%Temp%\wordpro.Cmd"
  23. Del "%Temp%\wordpro.Cmd" >Nul: 2>&1
  24. Rem
  25. Rem #########################################################################
  26. Rem
  27. Rem Get the installation location of FreeLance from the registry.
  28. Rem
  29. ..\ACRegL "%Temp%\flance.Cmd" FL "HKLM\Software\Lotus\Freelance\97.0" "Path" ""
  30. If Exist "%Temp%\flance.Cmd" Call "%Temp%\flance.Cmd"
  31. Del "%Temp%\flance.Cmd" >Nul: 2>&1
  32. Rem
  33. Rem #########################################################################
  34. Rem
  35. Rem Get the installation location of Lotus 123 from the registry.
  36. Rem
  37. ..\ACRegL "%Temp%\123.Cmd" OT "HKLM\Software\Lotus\123\97.0" "Path" ""
  38. If Exist "%Temp%\123.Cmd" Call "%Temp%\123.Cmd"
  39. Del "%Temp%\123.Cmd" >Nul: 2>&1
  40. Rem
  41. Rem #########################################################################
  42. Rem
  43. Rem Get the installation location of Lotus Approach from the registry.
  44. Rem
  45. ..\ACRegL "%Temp%\approach.Cmd" AP "HKLM\Software\Lotus\Approach\97.0" "Path" ""
  46. If Exist "%Temp%\approach.Cmd" Call "%Temp%\approach.Cmd"
  47. Del "%Temp%\approach.Cmd" >Nul: 2>&1
  48. Rem
  49. Rem #########################################################################
  50. Rem
  51. Rem Get the installation location of Lotus Organizer from the registry.
  52. Rem
  53. ..\ACRegL "%Temp%\organize.Cmd" OR "HKLM\Software\Lotus\Organizer\97.0" "Path" ""
  54. If Exist "%Temp%\organize.Cmd" Call "%Temp%\organize.Cmd"
  55. Del "%Temp%\organize.Cmd" >Nul: 2>&1
  56. Rem
  57. Rem #########################################################################
  58. If Not Exist "%RootDrive%\Lotus\123\icons" (
  59. If Exist "%OT%icons" (
  60. call TsMkUDir "%RootDrive%\Lotus\123\icons"
  61. xcopy /E "%OT%icons" "%RootDrive%\Lotus\123\icons" >Nul: 2>&1
  62. )
  63. )
  64. If Not Exist "%RootDrive%\Lotus\approach\icons" (
  65. If Exist "%AP%icons" (
  66. call TsMkUDir "%RootDrive%\Lotus\approach\icons"
  67. xcopy /E "%AP%icons" "%RootDrive%\Lotus\approach\icons" >Nul: 2>&1
  68. )
  69. )
  70. If Not Exist "%RootDrive%\Lotus\organize\icons" (
  71. If Exist "%OR%\icons" (
  72. call TsMkUDir "%RootDrive%\Lotus\organize\icons"
  73. xcopy /E "%OR%\icons" "%RootDrive%\Lotus\organize\icons" >Nul: 2>&1
  74. )
  75. )
  76. If Not Exist "%RootDrive%\Lotus\flg\icons" (
  77. If Exist "%FL%\icons" (
  78. call TsMkUDir "%RootDrive%\Lotus\flg\icons"
  79. xcopy /E "%FL%\icons" "%RootDrive%\Lotus\flg\icons" >Nul: 2>&1
  80. )
  81. )
  82. If Not Exist "%RootDrive%\Lotus\wordpro\icons" (
  83. If Exist "%WP%\icons" (
  84. call TsMkUDir "%RootDrive%\Lotus\wordpro\icons"
  85. xcopy /E "%WP%\icons" "%RootDrive%\Lotus\wordpro\icons" >Nul: 2>&1
  86. )
  87. )
  88. :SKip1