windows-nt/Source/XPSP1/NT/termsrv/admtools/appcmpt/jpn/lotso.cmd

219 lines
7.8 KiB
Batchfile
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
@Echo Off
Rem #########################################################################
Rem
Rem %RootDrive% <20><><EFBFBD>\<5C><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482>̃X<CC83>N<EFBFBD><4E><EFBFBD>v<EFBFBD>g<EFBFBD>p<EFBFBD>ɐݒ肳<DD92><E882B3><EFBFBD>Ă<EFBFBD><C482><EFBFBD>Ƃ<EFBFBD><C682>m<EFBFBD>F<EFBFBD><46><EFBFBD>܂<EFBFBD><DC82>B
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 #########################################################################
Rem
Rem SSuite97.Cmd <20><><EFBFBD><EFBFBD><EFBFBD>łɎ<C582><C98E>s<EFBFBD><73><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD><EFBFBD>͏<EFBFBD><CD8F><EFBFBD><EFBFBD>𒆒f<F0928692><66><EFBFBD>܂<EFBFBD><DC82>B
Rem
If Not Exist "%COMMON_STARTUP%\SS97Usr.Cmd" Goto Cont0
Echo.
Echo <20><><EFBFBD>ł<EFBFBD> SSuite97.Cmd <20><><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD><73><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482>܂<EFBFBD><DC82>B
Echo.
Echo <20><><EFBFBD>[<5B>^<5E>X <20>X<EFBFBD>[<5B>p<EFBFBD>[<5B>I<EFBFBD>t<EFBFBD>B<EFBFBD>X <20>̃}<7D><><EFBFBD>`<60><><EFBFBD>[<5B>U<EFBFBD>[ <20>A<EFBFBD>v<EFBFBD><76><EFBFBD>P<EFBFBD>[<5B>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD>‹<EFBFBD><C28B>ݒ肪
Echo <20><><EFBFBD>f<EFBFBD><66><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82><EFBFBD><EFBFBD>B
Echo.
Pause
Goto Done
:Cont0
Rem #########################################################################
Rem
Rem <20><><EFBFBD>[<5B>^<5E>X <20>X<EFBFBD>[<5B>p<EFBFBD>[<5B>I<EFBFBD>t<EFBFBD>B<EFBFBD>X <20>̃C<CC83><43><EFBFBD>X<EFBFBD>g<EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD>p<EFBFBD>X<EFBFBD><58><EFBFBD><EFBFBD><E693BE><EFBFBD>܂<EFBFBD><DC82>B
Rem
..\ACRegL "%Temp%\lotso.Cmd" LOTSOINS "HKCU\Software\Lotus\Components" "User Path" STRIPCHAR\2
If Not ErrorLevel 1 Goto Cont1
Echo.
Echo <20><><EFBFBD>W<EFBFBD>X<EFBFBD>g<EFBFBD><67><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>[<5B>^<5E>X <20>X<EFBFBD>[<5B>p<EFBFBD>[<5B>I<EFBFBD>t<EFBFBD>B<EFBFBD>X <20>̃C<CC83><43><EFBFBD>X<EFBFBD>g<EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482><EFBFBD>
Echo <20>p<EFBFBD>X<EFBFBD><58><EFBFBD><EFBFBD>ł<EFBFBD><C582>܂<EFBFBD><DC82><EFBFBD><EFBFBD>ł<EFBFBD><C582><EFBFBD><EFBFBD>B
Echo <20><><EFBFBD>[<5B>^<5E>X <20>X<EFBFBD>[<5B>p<EFBFBD>[<5B>I<EFBFBD>t<EFBFBD>B<EFBFBD>X <20><><EFBFBD>C<EFBFBD><43><EFBFBD>X<EFBFBD>g<EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482><EFBFBD>Ƃ<EFBFBD><C682>m<EFBFBD>F<EFBFBD><46><EFBFBD><EFBFBD>
Echo <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B
Echo.
Pause
Goto Done
:Cont1
Call "%Temp%\lotso.Cmd"
Del "%Temp%\lotso.Cmd" > Nul: 2>&1
Rem #########################################################################
Rem
Rem LotsoUsr.Cmd <20><><EFBFBD><EFBFBD><EFBFBD>‚<EFBFBD><C282><EFBFBD><EFBFBD>Ȃ<EFBFBD><C882><EFBFBD>͏<EFBFBD><CD8F><EFBFBD><EFBFBD>𒆒f<F0928692><66><EFBFBD>܂<EFBFBD><DC82>B
Rem
If Exist ..\Logon\LotsoUsr.Cmd Goto Cont2
Echo.
Echo LotsoUsr.Cmd <20><><EFBFBD>ȉ<EFBFBD><C889>̃t<CC83>H<EFBFBD><48><EFBFBD>_<EFBFBD>Ɍ<EFBFBD><C98C>‚<EFBFBD><C282><EFBFBD><EFBFBD>܂<EFBFBD><DC82><EFBFBD><EFBFBD>B
Echo %Systemroot%\Application Compatibility Scripts\Logon.
Echo.
Echo <20><><EFBFBD>[<5B>^<5E>X <20>X<EFBFBD>[<5B>p<EFBFBD>[<5B>I<EFBFBD>t<EFBFBD>B<EFBFBD>X <20>̃}<7D><><EFBFBD>`<60><><EFBFBD>[<5B>U<EFBFBD>[ <20>A<EFBFBD>v<EFBFBD><76><EFBFBD>P<EFBFBD>[<5B>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD>‹<EFBFBD><C28B>ݒ肪
Echo <20><><EFBFBD>f<EFBFBD><66><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82><EFBFBD><EFBFBD>B
Echo.
Pause
Goto Done
:Cont2
Rem #########################################################################
Rem
Rem <20><><EFBFBD>[<5B>^<5E>X <20><><EFBFBD>[<5B>h<EFBFBD>v<EFBFBD><76> <20>̃C<CC83><43><EFBFBD>X<EFBFBD>g<EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD>p<EFBFBD>X<EFBFBD><58><EFBFBD><EFBFBD><E693BE><EFBFBD>܂<EFBFBD><DC82>B
Rem
..\ACRegL "%Temp%\wordpro.Cmd" WP "HKLM\Software\Lotus\Wordpro\98.0" "Path" ""
If ErrorLevel 1 Goto Cont3
Call "%Temp%\wordpro.Cmd"
Del "%Temp%\wordpro.Cmd" >Nul: 2>&1
:Cont3
Rem #########################################################################
Rem
Rem LotsoUsr.cmd <20><> UsrLogn2.Cmd <20>X<EFBFBD>N<EFBFBD><4E><EFBFBD>v<EFBFBD>g<EFBFBD>ɒlj<C992><C789><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B
Rem
FindStr /I LotsoUsr %SystemRoot%\System32\UsrLogn2.Cmd >Nul: 2>&1
If Not ErrorLevel 1 Goto Cont4
Echo Call LotsoUsr.Cmd >> %SystemRoot%\System32\UsrLogn2.Cmd
:Cont4
Rem #########################################################################
Rem
Rem <20>X<EFBFBD>[<5B>p<EFBFBD>[<5B>I<EFBFBD>t<EFBFBD>B<EFBFBD>X <20><><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD>ł<EFBFBD><C582><EFBFBD><EFBFBD><EFBFBD><E682A4> <20><><EFBFBD>W<EFBFBD>X<EFBFBD>g<EFBFBD><67><EFBFBD>̃A<CC83>N<EFBFBD>Z<EFBFBD>X<EFBFBD><58><EFBFBD><EFBFBD><EFBFBD>ύX<CF8D><58><EFBFBD>܂<EFBFBD><DC82>B
Rem
regini lotso.key > Nul:
Rem #########################################################################
Rem
Rem <20><><EFBFBD>[<5B>^<5E>X <20><><EFBFBD>[<5B>h<EFBFBD>v<EFBFBD><76> <20><><EFBFBD>C<EFBFBD><43><EFBFBD>X<EFBFBD>g<EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482>Ȃ<EFBFBD><C882><EFBFBD>͎<EFBFBD><CD8E>̏<EFBFBD><CC8F><EFBFBD><EFBFBD><EFBFBD><EFBFBD>X<EFBFBD>L<EFBFBD>b<EFBFBD>v<EFBFBD><76><EFBFBD>܂<EFBFBD><DC82>B
Rem
If "%WP%A" == "A" Goto Cont5
Rem #########################################################################
Rem
Rem <20><><EFBFBD>̃t<CC83>@<40>C<EFBFBD><43><EFBFBD>Œ<EFBFBD><C592>`<60><><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482><EFBFBD> <20><><EFBFBD>W<EFBFBD>X<EFBFBD>g<EFBFBD><67> <20>L<EFBFBD>[<5B><><EFBFBD>o<EFBFBD>^<5E><><EFBFBD>܂<EFBFBD><DC82>B<EFBFBD><42><EFBFBD>[<5B>h<EFBFBD>v<EFBFBD><76><EFBFBD><EFBFBD><EFBFBD>o<EFBFBD>^<5E><>
Rem <20>X<EFBFBD>L<EFBFBD>b<EFBFBD>v<EFBFBD><76><EFBFBD><EFBFBD>Ƃ<EFBFBD><C682><EFBFBD><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B
set List="%WP%\lwp.reg" "%WP%\lwplabel.reg" "%WP%\lwptls.reg"
regedit /s %List%
:Cont5
Rem #########################################################################
Rem
Rem <20><><EFBFBD>[<5B>U<EFBFBD>[<5B>̃<EFBFBD><CC83>W<EFBFBD>X<EFBFBD>g<EFBFBD><67> <20>L<EFBFBD>[<5B><><EFBFBD>X<EFBFBD>V<EFBFBD><56><EFBFBD><EFBFBD>߂̃<DF82><CC83>W<EFBFBD>X<EFBFBD>g<EFBFBD><67> <20>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EC90AC><EFBFBD>܂<EFBFBD><DC82>B
Rem
Rem #########################################################################
Rem
Rem <20><><EFBFBD>[<5B>^<5E>X <20>X<EFBFBD>[<5B>p<EFBFBD>[<5B>I<EFBFBD>t<EFBFBD>B<EFBFBD>X<EFBFBD>̃<EFBFBD><CC83>W<EFBFBD>X<EFBFBD>g<EFBFBD><67><EFBFBD><EFBFBD><EFBFBD>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD>ɏ<EFBFBD><C98F><EFBFBD><EFBFBD>o<EFBFBD><6F><EFBFBD>܂<EFBFBD><DC82>B
Rem
Regedit /a lotso.tmp HKEY_CURRENT_USER\Software\Lotus
Rem #########################################################################
Rem
Rem <20><><EFBFBD><EFBFBD><EFBFBD>o<EFBFBD><6F><EFBFBD><EFBFBD><EFBFBD>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD>p<EFBFBD>X<EFBFBD><58><EFBFBD>ύX<CF8D><58><EFBFBD><EFBFBD><EFBFBD>K<EFBFBD>v<EFBFBD>̂<EFBFBD><CC82><EFBFBD><E99594><EFBFBD>𒊏o<F0928A8F><6F><EFBFBD>܂<EFBFBD><DC82>B
Rem
Echo Windows Registry Editor Version 5.00 >lotso.tmp2
Echo.>>lotso.tmp2
findstr /i \[HKEY_CURRENT_USER\\Software\\Lotus\\123\\.*\\Paths\\Work\] lotso.tmp >>lotso.tmp2
findstr /i \"JA\".*\\\\Work\\\\123\\\\ lotso.tmp >>lotso.tmp2
Echo.>>lotso.tmp2
findstr /i \[HKEY_CURRENT_USER\\Software\\Lotus\\123\\.*\\Paths\\AutoOpen\] lotso.tmp >>lotso.tmp2
Echo @="%RootDrive%\\Lotus\\Work\\123\\Auto\\" >>lotso.tmp2
Echo.>>lotso.tmp2
findstr /i \[HKEY_CURRENT_USER\\Software\\Lotus\\Approach\\.*\\Paths\\Work\] lotso.tmp >>lotso.tmp2
findstr /i \"JA\".*\\\\work\\\\approach\\\\ lotso.tmp >>lotso.tmp2
Echo.>>lotso.tmp2
findstr /i /r /c:"\[HKEY_CURRENT_USER\\Software\\Lotus\\Freelance\\.*\\Freelance Graphics\]" lotso.tmp >>lotso.tmp2
findstr /i /r /c:"\"Working Directory\".*\\\\work\\\\flg\\\\" lotso.tmp >>lotso.tmp2
findstr /i /r /c:"\"Backup Directory\".*\\\\backup\\\\flg\\\\" lotso.tmp >>lotso.tmp2
Echo "User Dictionary"="%RootDrive%\\Lotus\\compnent\\spell\\ltsuser1.udc">>lotso.tmp2
Echo.>>lotso.tmp2
findstr /i \[HKEY_CURRENT_USER\\Software\\Lotus\\Organizer\\.*\\Paths\] lotso.tmp >>lotso.tmp2
findstr /i \"OrganizerFiles\".*\\\\work\\\\organize lotso.tmp >>lotso.tmp2
findstr /i \"Backup\".*\\\\backup\\\\organize lotso.tmp >>lotso.tmp2
Echo.>>lotso.tmp2
findstr /i \[HKEY_CURRENT_USER\\Software\\Lotus\\WordPro\\.*\\Paths\\Backup\] lotso.tmp >>lotso.tmp2
findstr /i \"JA\".*\\\\backup\\\\wordpro\\\\ lotso.tmp >>lotso.tmp2
Echo. >>lotso.tmp2
findstr /i \[HKEY_CURRENT_USER\\Software\\Lotus\\WordPro\\.*\\Paths\\Work\] lotso.tmp >>lotso.tmp2
findstr /i \"JA\".*\\\\work\\\\wordpro\\\\ lotso.tmp >>lotso.tmp2
Echo.>>lotso.tmp2
findstr /i \[HKEY_CURRENT_USER\\Software\\Lotus\\Components\\Spell\\.*\] lotso.tmp >>lotso.tmp2
Echo "Multi User Path"="%RootDrive%\\Lotus\\compnent\\spell\\">>lotso.tmp2
Echo "UserDictionaryFiles"="ltsuser1.udc">>lotso.tmp2
Echo.>>lotso.tmp2
Echo [HKEY_CURRENT_USER\Software\Lotus\Components\Spell\4.0]>>lotso.tmp2
Echo "Multi User Path"="%RootDrive%\\Lotus\\compnent\\spell\\">>lotso.tmp2
Echo "UserDictionaryFiles"="ltsuser1.udc">>lotso.tmp2
Echo.>>lotso.tmp2
findstr /i \[HKEY_CURRENT_USER\\Software\\Lotus\\SuiteStart\\[0-9][0-9]\.[0-9]\] lotso.tmp >>lotso.tmp2
Echo "Configure"=dword:00000001>>lotso.tmp2
Echo.>>lotso.tmp2
findstr /i \[HKEY_CURRENT_USER\\Software\\Lotus\\SmartCenter\\[0-9][0-9]\.[0-9]\] lotso.tmp >>lotso.tmp2
Echo "Configure"=dword:00000001>>lotso.tmp2
Echo.>>lotso.tmp2
findstr /i \[HKEY_CURRENT_USER\\Software\\Lotus\\SmartCenter\\.*\\Paths\\Work\] lotso.tmp >>lotso.tmp2
findstr /i JA\".*\\\\Work\\\\SmartCtr\" lotso.tmp >>lotso.tmp2
Echo.>>lotso.tmp2
findstr /i /r /c:"\[HKEY_CURRENT_USER\\Software\\Lotus\\FastSite\\.*\\Paths\]" lotso.tmp >>lotso.tmp2
findstr /i /r /c:"\"Work Directory\".*\\\\work\\\\fastsite\\\\" lotso.tmp >>lotso.tmp2
Rem #########################################################################
Rem
Rem <20>p<EFBFBD>X<EFBFBD><58><EFBFBD>ύX<CF8D><58><EFBFBD>܂<EFBFBD><DC82>B
Rem
echo %LOTSOINS%> lotso.tmp3
..\acsr "\\" "\\\\" lotso.tmp3 lotso.tmp4
for /f "tokens=*" %%i in ( 'type lotso.tmp4' ) do set LOTSOINST=%%i
..\acsr "%LOTSOINST%" "%RootDrive%\\lotus" lotso.tmp2 ..\Logon\LotsoUsr.reg
Del lotso.tmp >Nul: 2>&1
Del lotso.tmp2 >Nul: 2>&1
Del lotso.tmp3 >Nul: 2>&1
Del lotso.tmp4 >Nul: 2>&1
Rem #########################################################################
Rem
Rem <20><><EFBFBD>ׂẴ<C482><CC83>[<5B>U<EFBFBD>[<5B>p<EFBFBD>̃X<CC83>^<5E>[<5B>g<EFBFBD>A<EFBFBD>b<EFBFBD>v <20><><EFBFBD>j<EFBFBD><6A><EFBFBD>[<5B><><EFBFBD><EFBFBD>[<5B>U<EFBFBD>[<5B><>
Rem <20>z<EFBFBD>[<5B><> <20>f<EFBFBD>B<EFBFBD><42><EFBFBD>N<EFBFBD>g<EFBFBD><67><EFBFBD>ɃV<C983><56><EFBFBD>[<5B>g<EFBFBD>J<EFBFBD>b<EFBFBD>g <20>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD>ړ<EFBFBD><DA93><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B
Rem
If Exist "%COMMON_STARTUP%\<5C><><EFBFBD>Ľ<EFBFBD><C4BD><EFBFBD> 97.lnk" Move "%COMMON_STARTUP%\<5C><><EFBFBD>Ľ<EFBFBD><C4BD><EFBFBD> 97.lnk" "%LOTSOINS%" >Nul: 2>&1
If Exist "%COMMON_STARTUP%\<5C>ϰľ<CFB0><C4BE><EFBFBD> 97.lnk" Move "%COMMON_STARTUP%\<5C>ϰľ<CFB0><C4BE><EFBFBD> 97.lnk" "%LOTSOINS%" >Nul: 2>&1
If Exist "%COMMON_STARTUP%\<5C>X<EFBFBD>C<EFBFBD>[<5B>g<EFBFBD>X<EFBFBD>^<EFBFBD>[<5B>g 2000.lnk" Move "%COMMON_STARTUP%\<5C>X<EFBFBD>C<EFBFBD>[<5B>g<EFBFBD>X<EFBFBD>^<EFBFBD>[<5B>g 2000.lnk" "%LOTSOINS%" >Nul: 2>&1
If Exist "%COMMON_STARTUP%\<5C>X<EFBFBD>}<7D>[<5B>g<EFBFBD>Z<EFBFBD><5A><EFBFBD>^<EFBFBD>[ 2000.lnk" Move "%COMMON_STARTUP%\<5C>X<EFBFBD>}<7D>[<5B>g<EFBFBD>Z<EFBFBD><5A><EFBFBD>^<EFBFBD>[ 2000.lnk" "%LOTSOINS%" >Nul: 2>&1
Rem #########################################################################
Echo.
Echo <20><><EFBFBD>[<5B>^<5E>X <20>X<EFBFBD>[<5B>p<EFBFBD>[<5B>I<EFBFBD>t<EFBFBD>B<EFBFBD>X <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɍ쓮<C98D><EC93AE><EFBFBD><EFBFBD>߂ɂ́A<CD81><41><EFBFBD>݃<EFBFBD><DD83>O<EFBFBD>I<EFBFBD><49>
Echo <20><><EFBFBD>Ă<EFBFBD><C482><EFBFBD>[<5B>U<EFBFBD>[<5B>̓A<CD83>v<EFBFBD><76><EFBFBD>P<EFBFBD>[<5B>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD><73><EFBFBD><EFBFBD><EFBFBD>O<EFBFBD>ɁA<C981><41><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>񃍃O<F1838D83>I<EFBFBD>t
Echo <20><><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD>ēx<C493><78><EFBFBD>O<EFBFBD>I<EFBFBD><49><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>K<EFBFBD>v<EFBFBD><76><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B
Echo.
Echo <20><><EFBFBD>[<5B>^<5E>X <20>X<EFBFBD>[<5B>p<EFBFBD>[<5B>I<EFBFBD>t<EFBFBD>B<EFBFBD>X <20>̃}<7D><><EFBFBD>`<60><><EFBFBD>[<5B>U<EFBFBD>[ <20>A<EFBFBD>v<EFBFBD><76><EFBFBD>P<EFBFBD>[<5B>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD>‹<EFBFBD><C28B>ݒ肪
Echo <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82><EFBFBD><EFBFBD>B
Pause
:Done