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.3 KiB
80 lines
3.3 KiB
|
|
|
|
@Echo Off
|
|
|
|
Rem #########################################################################
|
|
|
|
Rem
|
|
Rem %RootDrive%가 구성되었는지 확인하고 이 스크립트에 대해 설정합니다.
|
|
Rem
|
|
|
|
Call "%SystemRoot%\Application Compatibility Scripts\ChkRoot.Cmd"
|
|
If "%_CHKROOT%" == "FAIL" Goto Done
|
|
Call "%SystemRoot%\Application Compatibility Scripts\SetPaths.Cmd"
|
|
If "%_SETPATHS%" == "FAIL" Goto Done
|
|
|
|
Rem #########################################################################
|
|
|
|
If Exist ..\Logon\SS97Usr.Cmd Goto Skip1
|
|
|
|
Echo.
|
|
Echo SS97Usr.Cmd 로그온 스크립트를 찾을 수 없습니다:
|
|
Echo %Systemroot%\Application Compatibility Scripts\Logon.
|
|
Echo.
|
|
Echo Lotus SmartSuite 97 다중 사용자 응용 프로그램 조정 종료
|
|
Echo.
|
|
Pause
|
|
Goto Done
|
|
|
|
:Skip1
|
|
|
|
Rem #########################################################################
|
|
FindStr /I SS97Usr %SystemRoot%\System32\UsrLogn2.Cmd >Nul: 2>&1
|
|
If Not ErrorLevel 1 Goto Skip2
|
|
Echo Call SS97Usr.Cmd >> %SystemRoot%\System32\UsrLogn2.Cmd
|
|
:Skip2
|
|
|
|
Rem #########################################################################
|
|
|
|
Rem 기본 레지스트리 사용 권한을 조정하여 사용자가 Smart Suite를 실행할 수 있게 합니다.
|
|
regini ssuite97.key > Nul:
|
|
|
|
Rem 사용자 단위 레지스트리 키를 업데이트하도록 사용자 레지스트리 파일을 만듭니다.
|
|
Echo Windows 레지스트리 편집기 버전 5.00 >..\Logon\SS97Usr.reg
|
|
Echo. >>..\Logon\SS97Usr.reg
|
|
Echo. >>..\Logon\SS97Usr.reg
|
|
Echo [HKEY_CURRENT_USER\Software\Lotus\123\97.0\Paths\Work]>>..\Logon\SS97Usr.reg
|
|
Echo "EN"="%RootDrive%\\Lotus\\Work\\123\\" >>..\Logon\SS97Usr.reg
|
|
Echo. >>..\Logon\SS97Usr.reg
|
|
Echo [HKEY_CURRENT_USER\Software\Lotus\Approach\97.0\Paths\Work]>>..\Logon\SS97Usr.reg
|
|
Echo "EN"="%RootDrive%\\Lotus\\work\\approach\\">>..\Logon\SS97Usr.reg
|
|
Echo. >>..\Logon\SS97Usr.reg
|
|
Echo [HKEY_CURRENT_USER\Software\Lotus\Freelance\97.0\Freelance Graphics]>>..\Logon\SS97Usr.reg
|
|
Echo "Working Directory"="%RootDrive%\\Lotus\\work\\flg\\">>..\Logon\SS97Usr.reg
|
|
Echo "Backup Directory"="%RootDrive%\\Lotus\\backup\\flg\\">>..\Logon\SS97Usr.reg
|
|
Echo. >>..\Logon\SS97Usr.reg
|
|
Echo [HKEY_CURRENT_USER\Software\Lotus\Organizer\97.0\Paths]>>..\Logon\SS97Usr.reg
|
|
Echo "OrganizerFiles"="%RootDrive%\\Lotus\\work\\organize">>..\Logon\SS97Usr.reg
|
|
Echo "Backup"="%RootDrive%\\Lotus\\backup\\organize">>..\Logon\SS97Usr.reg
|
|
Echo. >>..\Logon\SS97Usr.reg
|
|
Echo [HKEY_CURRENT_USER\Software\Lotus\WordPro\97.0\Paths\Backup]>>..\Logon\SS97Usr.reg
|
|
Echo "EN"="%RootDrive%\\Lotus\\backup\\wordpro\\">>..\Logon\SS97Usr.reg
|
|
Echo. >>..\Logon\SS97Usr.reg
|
|
Echo [HKEY_CURRENT_USER\Software\Lotus\WordPro\97.0\Paths\Work]>>..\Logon\SS97Usr.reg
|
|
Echo "EN"="%RootDrive%\\Lotus\\work\\wordpro\\">>..\Logon\SS97Usr.reg
|
|
Echo. >>..\Logon\SS97Usr.reg
|
|
Echo [HKEY_CURRENT_USER\Software\Lotus\Components\Spell\4.0]>> ..\Logon\ss97usr.reg
|
|
Echo "Multi User Path"="%RootDrive%\\Lotus" >> ..\Logon\ss97usr.reg
|
|
Echo. >> ..\Logon\ss97usr.reg
|
|
Echo [HKEY_CURRENT_USER\Software\Lotus\SmartCenter\97.0]>>..\Logon\ss97usr.reg
|
|
Echo "Configure"=dword:00000001>>..\Logon\ss97usr.reg
|
|
Echo [HKEY_CURRENT_USER\Software\Lotus\SmartCenter\97.0\Paths\Work]>>..\Logon\ss97usr.reg
|
|
Echo "EN"="%RootDrive%\\Lotus\\Work\\SmartCtr">>..\Logon\ss97usr.reg
|
|
Echo. >>..\Logon\ss97usr.reg
|
|
|
|
Rem #########################################################################
|
|
|
|
Echo Lotus SmartSuite 97 다중 사용자 응용 프로그램 조정 완료
|
|
Pause
|
|
|
|
:Done
|