windows-nt/Source/XPSP1/NT/termsrv/admtools/appcmpt/cht/ssuite9.cmd

105 lines
3.8 KiB
Batchfile
Raw Normal View History

2020-09-26 03:20:57 -05:00
@Echo Off
Rem #########################################################################
Rem
Rem <20>q<EFBFBD>n<EFBFBD><6E><EFBFBD><EFBFBD><EFBFBD>o Lotus Wordpro 9 <20>w<EFBFBD>˦<EFBFBD><CBA6>m<EFBFBD>C
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>ˬd %RootDrive% <20>O<EFBFBD>_<EFBFBD>w<EFBFBD>]<5D>w<EFBFBD>A<EFBFBD>ñN<C3B1><4E><EFBFBD>]<5D>w<EFBFBD><77><EFBFBD><EFBFBD><EFBFBD>O<EFBFBD>ɡC
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><E4A4A3> SS9Usr.Cmd <20>n<EFBFBD>J<EFBFBD><4A><EFBFBD>O<EFBFBD><4F>
Echo %Systemroot%\Application Compatibility Scripts\Logon.
Echo.
Echo Lotus SmartSuite 9 <20>h<EFBFBD>ϥΪ<CFA5><CEAA><EFBFBD><EFBFBD>ε{<7B><><EFBFBD>վ<EFBFBD><D5BE>B<EFBFBD>z<EFBFBD>w<EFBFBD>פ<EFBFBD><D7A4>C
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><D5BE>w<EFBFBD>]<5D>n<EFBFBD><6E><EFBFBD>ɦs<C9A6><73><EFBFBD>v<EFBFBD><76><EFBFBD>A<EFBFBD><41><EFBFBD>ϥΪ̯<CEAA><CCAF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Smart Suite<74>C
regini ssuite9.key > Nul:
Rem <20>p<EFBFBD>G Lotus Wordpro <20>å<EFBFBD><C3A5>w<EFBFBD>ˡA<CBA1>N<EFBFBD><4E><EFBFBD>L<EFBFBD>o<EFBFBD>ӨB<D3A8>J
If "%WP%A" == "A" Goto Skip3
Rem <20>]<5D>w<EFBFBD>b<EFBFBD>U<EFBFBD>C<EFBFBD>ɮפ<C9AE><D7A4>w<EFBFBD>q<EFBFBD><71><EFBFBD>n<EFBFBD><6E><EFBFBD><EFBFBD><EFBFBD>X<EFBFBD>A<EFBFBD>]<5D><><EFBFBD><EFBFBD><EFBFBD>ɭ<EFBFBD> wordpro <20><><EFBFBD>|<7C>]<5D>w<EFBFBD>o<EFBFBD>Ǿ<EFBFBD><C7BE>X<EFBFBD>C
set List="%WP%\lwp.reg" "%WP%\lwpdcaft.reg" "%WP%\lwplabel.reg" "%WP%\lwptls.reg"
regedit /s %List%
:Skip3
Rem <20>إߨϥΪ̵n<CCB5><6E><EFBFBD>ɨӧ<C9A8><D3A7>s<EFBFBD>C<EFBFBD>ӨϥΪ̪<CEAA><CCAA>n<EFBFBD><6E><EFBFBD><EFBFBD><EFBFBD>X<EFBFBD>C
Echo Windows Registry Editor Version 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>h<EFBFBD>ϥΪ<CFA5><CEAA><EFBFBD><EFBFBD>ε{<7B><><EFBFBD>վ<EFBFBD><D5BE>B<EFBFBD>z<EFBFBD><7A><EFBFBD><EFBFBD>
Pause
:Done