107 lines
3.8 KiB
Batchfile
107 lines
3.8 KiB
Batchfile
|
@Echo Off
|
|||
|
|
|||
|
|
|||
|
|
|||
|
Rem #########################################################################
|
|||
|
|
|||
|
Rem
|
|||
|
Rem <20><>ע<EFBFBD><D7A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>л<EFBFBD><D0BB><EFBFBD> Lotus Wordpro 9 <20>İ<EFBFBD>װλ<D7B0><CEBB>
|
|||
|
Rem
|
|||
|
|
|||
|
..\ACRegL "%Temp%\wordpro.Cmd" WP "HKLM\Software\Lotus\Wordpro\98.0" "Path" ""
|
|||
|
|
|||
|
Call "%Temp%\wordpro.Cmd"
|
|||
|
Del "%Temp%\wordpro.Cmd" >Nul: 2>&1
|
|||
|
|
|||
|
Rem #########################################################################
|
|||
|
|
|||
|
Rem
|
|||
|
Rem <20><><EFBFBD><EFBFBD>֤ %RootDrive% <20>Ѿ<EFBFBD><D1BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD><C3A3><EFBFBD>Ϊ<EFBFBD><CEAA><EFBFBD><EFBFBD><EFBFBD>ű<EFBFBD><C5B1><EFBFBD><EFBFBD>øñ<C3B8><C3B1><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
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\SS9Usr.Cmd Goto Skip1
|
|||
|
|
|||
|
Echo.
|
|||
|
Echo <20>Ҳ<EFBFBD><D2B2><EFBFBD> SS9Usr.Cmd <20><>¼<EFBFBD>ű<EFBFBD>
|
|||
|
Echo %Systemroot%\Application Compatibility Scripts\Logon.
|
|||
|
Echo.
|
|||
|
Echo Lotus SmartSuite 9 <20><><EFBFBD>û<EFBFBD>Ӧ<EFBFBD>ó<EFBFBD><C3B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֹ<EFBFBD><D6B9>
|
|||
|
Echo.
|
|||
|
Pause
|
|||
|
Goto Done
|
|||
|
|
|||
|
:Skip1
|
|||
|
|
|||
|
Rem #########################################################################
|
|||
|
FindStr /I SS9Usr %SystemRoot%\System32\UsrLogn2.Cmd >Nul: 2>&1
|
|||
|
If Not ErrorLevel 1 Goto Skip2
|
|||
|
Echo Call SS9Usr.Cmd >> %SystemRoot%\System32\UsrLogn2.Cmd
|
|||
|
:Skip2
|
|||
|
|
|||
|
|
|||
|
Rem #########################################################################
|
|||
|
|
|||
|
|
|||
|
Rem <20><><EFBFBD><EFBFBD>Ĭ<EFBFBD><C4AC>ע<EFBFBD><D7A2><EFBFBD><EFBFBD>Ȩ<EFBFBD>ޣ<EFBFBD><DEA3>Ա<EFBFBD><D4B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><C3BB><EFBFBD><EFBFBD><EFBFBD> Smart Suite
|
|||
|
regini ssuite9.key > Nul:
|
|||
|
|
|||
|
Rem <20><><EFBFBD><EFBFBD>û<EFBFBD>а<EFBFBD>װ Lotus Wordpro<72><6F><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD>
|
|||
|
If "%WP%A" == "A" Goto Skip3
|
|||
|
Rem <20><><EFBFBD><EFBFBD>ij<EFBFBD><C4B3>ԭ<EFBFBD><D4AD> wordpro û<><C3BB><EFBFBD><EFBFBD><EFBFBD>ö<EFBFBD><C3B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><C4BC><EFBFBD>ע<EFBFBD><D7A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EEA3AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǡ<EFBFBD>
|
|||
|
set List="%WP%\lwp.reg" "%WP%\lwpdcaft.reg" "%WP%\lwplabel.reg" "%WP%\lwptls.reg"
|
|||
|
|
|||
|
regedit /s %List%
|
|||
|
|
|||
|
:Skip3
|
|||
|
|
|||
|
Rem <20><><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD>ע<EFBFBD><D7A2><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><C4BC>Ա<EFBFBD><D4B1><EFBFBD><EFBFBD><EFBFBD>ÿ<EFBFBD>û<EFBFBD>ע<EFBFBD><D7A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
Echo Windows ע<><D7A2><EFBFBD><EFBFBD><EFBFBD>༭<EFBFBD><E0BCAD><EFBFBD>汾 5.00 >..\Logon\ss9usr.reg
|
|||
|
Echo. >>..\Logon\ss9usr.reg
|
|||
|
Echo. >>..\Logon\ss9usr.reg
|
|||
|
Echo [HKEY_CURRENT_USER\Software\Lotus\123\98.0\Paths\Work]>>..\Logon\ss9usr.reg
|
|||
|
Echo "EN"="%RootDrive%\\Lotus\\Work\\123\\" >>..\Logon\ss9usr.reg
|
|||
|
Echo. >>..\Logon\ss9usr.reg
|
|||
|
Echo [HKEY_CURRENT_USER\Software\Lotus\123\98.0\Paths\AutoOpen]>>..\Logon\ss9usr.reg
|
|||
|
Echo @="%RootDrive%\\Lotus\\Work\\123\\Auto\\" >>..\Logon\ss9usr.reg
|
|||
|
Echo. >>..\Logon\ss9usr.reg
|
|||
|
Echo [HKEY_CURRENT_USER\Software\Lotus\Approach\97.0\Paths\Work]>>..\Logon\ss9usr.reg
|
|||
|
Echo "EN"="%RootDrive%\\Lotus\\work\\approach\\">>..\Logon\ss9usr.reg
|
|||
|
Echo. >>..\Logon\ss9usr.reg
|
|||
|
Echo [HKEY_CURRENT_USER\Software\Lotus\Freelance\98.0\Freelance Graphics]>>..\Logon\ss9usr.reg
|
|||
|
Echo "Working Directory"="%RootDrive%\\Lotus\\work\\flg\\">>..\Logon\ss9usr.reg
|
|||
|
Echo "Backup Directory"="%RootDrive%\\Lotus\\backup\\flg\\">>..\Logon\ss9usr.reg
|
|||
|
Echo. >>..\Logon\ss9usr.reg
|
|||
|
Echo [HKEY_CURRENT_USER\Software\Lotus\Organizer\98.0\Paths]>>..\Logon\ss9usr.reg
|
|||
|
Echo "OrganizerFiles"="%RootDrive%\\Lotus\\work\\organize">>..\Logon\ss9usr.reg
|
|||
|
Echo "Backup"="%RootDrive%\\Lotus\\backup\\organize">>..\Logon\ss9usr.reg
|
|||
|
Echo. >>..\Logon\ss9usr.reg
|
|||
|
Echo [HKEY_CURRENT_USER\Software\Lotus\WordPro\98.0\Paths\Backup]>>..\Logon\ss9usr.reg
|
|||
|
Echo "EN"="%RootDrive%\\Lotus\\backup\\wordpro\\">>..\Logon\ss9usr.reg
|
|||
|
Echo. >>..\Logon\ss9usr.reg
|
|||
|
Echo [HKEY_CURRENT_USER\Software\Lotus\WordPro\98.0\Paths\Work]>>..\Logon\ss9usr.reg
|
|||
|
Echo "EN"="%RootDrive%\\Lotus\\work\\wordpro\\">>..\Logon\ss9usr.reg
|
|||
|
Echo. >>..\Logon\ss9usr.reg
|
|||
|
Echo [HKEY_CURRENT_USER\Software\Lotus\Components\Spell\4.1]>> ..\Logon\ss9usr.reg
|
|||
|
Echo "Multi User Path"="%RootDrive%\\Lotus" >> ..\Logon\ss9usr.reg
|
|||
|
Echo. >> ..\Logon\ss9usr.reg
|
|||
|
Echo [HKEY_CURRENT_USER\Software\Lotus\SmartCenter\98.0]>>..\Logon\ss9usr.reg
|
|||
|
Echo "Configure"=dword:00000001>>..\Logon\ss9usr.reg
|
|||
|
Echo [HKEY_CURRENT_USER\Software\Lotus\SmartCenter\98.0\Paths\Work]>>..\Logon\ss9usr.reg
|
|||
|
Echo "EN"="%RootDrive%\\Lotus\\Work\\SmartCtr">>..\Logon\ss9usr.reg
|
|||
|
Echo. >>..\Logon\ss9usr.reg
|
|||
|
|
|||
|
Rem #########################################################################
|
|||
|
|
|||
|
|
|||
|
Echo Lotus SmartSuite 9 <20><><EFBFBD>û<EFBFBD>Ӧ<EFBFBD>ó<EFBFBD><C3B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѽ<EFBFBD><D1BD><EFBFBD>
|
|||
|
Pause
|
|||
|
|
|||
|
:Done
|