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.

80 lines
3.2 KiB

  1. @Echo Off
  2. Rem #########################################################################
  3. Rem
  4. Rem ����֤ %RootDrive% �Ѿ������ã���Ϊ�����ű����øñ�����
  5. Rem
  6. Call "%SystemRoot%\Application Compatibility Scripts\ChkRoot.Cmd"
  7. If "%_CHKROOT%" == "FAIL" Goto Done
  8. Call "%SystemRoot%\Application Compatibility Scripts\SetPaths.Cmd"
  9. If "%_SETPATHS%" == "FAIL" Goto Done
  10. Rem #########################################################################
  11. If Exist ..\Logon\SS97Usr.Cmd Goto Skip1
  12. Echo.
  13. Echo �Ҳ��� SS97Usr.Cmd ��¼�ű�
  14. Echo %Systemroot%\Application Compatibility Scripts\Logon.
  15. Echo.
  16. Echo Lotus SmartSuite 97 ���û�Ӧ�ó�����������ֹ��
  17. Echo.
  18. Pause
  19. Goto Done
  20. :Skip1
  21. Rem #########################################################################
  22. FindStr /I SS97Usr %SystemRoot%\System32\UsrLogn2.Cmd >Nul: 2>&1
  23. If Not ErrorLevel 1 Goto Skip2
  24. Echo Call SS97Usr.Cmd >> %SystemRoot%\System32\UsrLogn2.Cmd
  25. :Skip2
  26. Rem #########################################################################
  27. Rem ����Ĭ��ע����Ȩ�ޣ��Ա������û����� Smart Suite
  28. regini ssuite97.key > Nul:
  29. Rem �����û�ע�����ļ��Ա�����ÿ�û�ע������
  30. Echo Windows ע�����༭���汾 5.00 >..\Logon\SS97Usr.reg
  31. Echo. >>..\Logon\SS97Usr.reg
  32. Echo. >>..\Logon\SS97Usr.reg
  33. Echo [HKEY_CURRENT_USER\Software\Lotus\123\97.0\Paths\Work]>>..\Logon\SS97Usr.reg
  34. Echo "EN"="%RootDrive%\\Lotus\\Work\\123\\" >>..\Logon\SS97Usr.reg
  35. Echo. >>..\Logon\SS97Usr.reg
  36. Echo [HKEY_CURRENT_USER\Software\Lotus\Approach\97.0\Paths\Work]>>..\Logon\SS97Usr.reg
  37. Echo "EN"="%RootDrive%\\Lotus\\work\\approach\\">>..\Logon\SS97Usr.reg
  38. Echo. >>..\Logon\SS97Usr.reg
  39. Echo [HKEY_CURRENT_USER\Software\Lotus\Freelance\97.0\Freelance Graphics]>>..\Logon\SS97Usr.reg
  40. Echo "Working Directory"="%RootDrive%\\Lotus\\work\\flg\\">>..\Logon\SS97Usr.reg
  41. Echo "Backup Directory"="%RootDrive%\\Lotus\\backup\\flg\\">>..\Logon\SS97Usr.reg
  42. Echo. >>..\Logon\SS97Usr.reg
  43. Echo [HKEY_CURRENT_USER\Software\Lotus\Organizer\97.0\Paths]>>..\Logon\SS97Usr.reg
  44. Echo "OrganizerFiles"="%RootDrive%\\Lotus\\work\\organize">>..\Logon\SS97Usr.reg
  45. Echo "Backup"="%RootDrive%\\Lotus\\backup\\organize">>..\Logon\SS97Usr.reg
  46. Echo. >>..\Logon\SS97Usr.reg
  47. Echo [HKEY_CURRENT_USER\Software\Lotus\WordPro\97.0\Paths\Backup]>>..\Logon\SS97Usr.reg
  48. Echo "EN"="%RootDrive%\\Lotus\\backup\\wordpro\\">>..\Logon\SS97Usr.reg
  49. Echo. >>..\Logon\SS97Usr.reg
  50. Echo [HKEY_CURRENT_USER\Software\Lotus\WordPro\97.0\Paths\Work]>>..\Logon\SS97Usr.reg
  51. Echo "EN"="%RootDrive%\\Lotus\\work\\wordpro\\">>..\Logon\SS97Usr.reg
  52. Echo. >>..\Logon\SS97Usr.reg
  53. Echo [HKEY_CURRENT_USER\Software\Lotus\Components\Spell\4.0]>> ..\Logon\ss97usr.reg
  54. Echo "Multi User Path"="%RootDrive%\\Lotus" >> ..\Logon\ss97usr.reg
  55. Echo. >> ..\Logon\ss97usr.reg
  56. Echo [HKEY_CURRENT_USER\Software\Lotus\SmartCenter\97.0]>>..\Logon\ss97usr.reg
  57. Echo "Configure"=dword:00000001>>..\Logon\ss97usr.reg
  58. Echo [HKEY_CURRENT_USER\Software\Lotus\SmartCenter\97.0\Paths\Work]>>..\Logon\ss97usr.reg
  59. Echo "EN"="%RootDrive%\\Lotus\\Work\\SmartCtr">>..\Logon\ss97usr.reg
  60. Echo. >>..\Logon\ss97usr.reg
  61. Rem #########################################################################
  62. Echo Lotus SmartSuite 97 ������Ӧ�ó��������ѽ���
  63. Pause
  64. :Done