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

154 lines
4.8 KiB
Batchfile
Raw 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 <20><EFBFBD>Y 9 <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%\itaro9.Cmd ITARO9INS "HKLM\SOFTWARE\Justsystem\Common\SETUP\Folder" "Just" ""
If Not ErrorLevel 1 Goto Cont0
Echo.
Echo <20><><EFBFBD>W<EFBFBD>X<EFBFBD>g<EFBFBD><67><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><EFBFBD>Y 9 <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>ł<EFBFBD><C582>܂<EFBFBD><DC82><EFBFBD><EFBFBD>ł<EFBFBD><C582><EFBFBD><EFBFBD>B
Echo <20><EFBFBD>Y 9 <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><C482><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B
Echo.
Pause
Goto Done
:Cont0
Call %Temp%\itaro9.Cmd
Del %Temp%\itaro9.Cmd > Nul: 2>&1
Rem #########################################################################
Rem
Rem ATOK 12 <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%\atok12.Cmd ATOK12INS "HKLM\SOFTWARE\Justsystem\Common\SETUP\Folder" "Atok12" ""
If Not ErrorLevel 1 Goto Cont1
Echo.
Echo <20><><EFBFBD>W<EFBFBD>X<EFBFBD>g<EFBFBD><67><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ATOK 12 <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>ł<EFBFBD><C582>܂<EFBFBD><DC82><EFBFBD><EFBFBD>ł<EFBFBD><C582><EFBFBD><EFBFBD>B
Echo ATOK 12 <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><C482><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B
Echo.
Pause
Goto Done
:Cont1
Call %Temp%\atok12.Cmd
Del %Temp%\atok12.Cmd > Nul: 2>&1
Rem #########################################################################
Rem
Rem <20>X<EFBFBD>N<EFBFBD><4E><EFBFBD>v<EFBFBD>g<EFBFBD><67><EFBFBD>s<EFBFBD>O<EFBFBD><4F> <20><EFBFBD>Y 9 <20><><EFBFBD>N<EFBFBD><4E><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɍ쐬<C98D><EC90AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>W<EFBFBD>X<EFBFBD>g<EFBFBD><67><EFBFBD><EFBFBD>
Rem <20><EFBFBD><ED8F9C><EFBFBD>܂<EFBFBD><DC82>B
Rem
regini itaro9.key > Nul:
Rem #########################################################################
Rem
Rem <20><EFBFBD>Y 9 <20>p<EFBFBD>̃<EFBFBD><CC83>W<EFBFBD>X<EFBFBD>g<EFBFBD><67><EFBFBD>L<EFBFBD>[<5B>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EC90AC><EFBFBD>܂<EFBFBD><DC82>B<EFBFBD>iHKLM<4C>ύX<CF8D><58><EFBFBD>j
Rem
..\acsr "#ROOTDRIVE#" "%RootDrive%" Template\itaro9.Reg itaro9.Reg
Rem #########################################################################
Rem
Rem <20><EFBFBD>Y 9 <20><><EFBFBD>}<7D><><EFBFBD>`<60><><EFBFBD>[<5B>U<EFBFBD>[<5B>Ŏg<C58E>p<EFBFBD>ł<EFBFBD><C582><EFBFBD><EFBFBD><EFBFBD><E682A4>
Rem <20><><EFBFBD>W<EFBFBD>X<EFBFBD>g<EFBFBD><67><EFBFBD><EFBFBD><EFBFBD>ύX<CF8D><58><EFBFBD>܂<EFBFBD><DC82>B<EFBFBD>iHKLM<4C>ύX<CF8D><58><EFBFBD>j
Rem
regedit /s itaro9.Reg
Rem #########################################################################
Rem
Rem <20><EFBFBD>Y 9 <20>p<EFBFBD>̃<EFBFBD><CC83>W<EFBFBD>X<EFBFBD>g<EFBFBD><67><EFBFBD>L<EFBFBD>[<5B>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EC90AC><EFBFBD>܂<EFBFBD><DC82>B<EFBFBD>iHKCU<43>ύX<CF8D><58><EFBFBD>j
Rem
..\acsr "#ROOTDRIVE#" "%RootDrive%" ..\Logon\Template\itr9usr.Reg ..\Logon\itr9usr.Reg
Rem #########################################################################
Rem
Rem <20><EFBFBD>Y 9 <20>p<EFBFBD>̃<EFBFBD><CC83>W<EFBFBD>X<EFBFBD>g<EFBFBD><67><EFBFBD>L<EFBFBD>[<5B>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EC90AC><EFBFBD>܂<EFBFBD><DC82>B<EFBFBD>iHKLM->HKCU<43>j
Rem
regedit /a ..\Logon\itr9usr2.tmp HKEY_LOCAL_MACHINE\SOFTWARE\Justsystem
..\acsr "HKEY_LOCAL_MACHINE\SOFTWARE\Justsystem" "HKEY_CURRENT_USER\Software\Justsystem" ..\Logon\itr9usr2.tmp ..\Logon\itr9usr2.Reg
Del ..\Logon\itr9usr2.tmp > Nul: 2>&1
Rem #########################################################################
Rem
Rem ATOK12IT.INI <20><><EFBFBD>}<7D><><EFBFBD>`<60><><EFBFBD>[<5B>U<EFBFBD>[<5B>d<EFBFBD>l<EFBFBD>ɕύX<CF8D><58><EFBFBD>܂<EFBFBD><DC82>B
Rem
..\acsr "%ATOK12INS%" "%RootDrive%\JUST\ATOK12" "%ATOK12INS%\ATOK12IT.INI" "%ATOK12INS%\ATOK12IT.tmp1"
Del "%ATOK12INS%\ATOK12IT.INI" > Nul: 2>&1
..\acsr "<EFBFBD>V<EFBFBD>X<EFBFBD>e<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>=%RootDrive%\JUST\ATOK12" "<EFBFBD>V<EFBFBD>X<EFBFBD>e<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>=%ATOK12INS%" "%ATOK12INS%\ATOK12IT.tmp1" "%ATOK12INS%\ATOK12IT.tmp2"
Del "%ATOK12INS%\ATOK12IT.tmp1" > Nul: 2>&1
..\acsr "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>P=%RootDrive%\JUST\ATOK12" "<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>P=%ATOK12INS%" "%ATOK12INS%\ATOK12IT.tmp2" "%ATOK12INS%\ATOK12IT.INI"
Del "%ATOK12INS%\ATOK12IT.tmp2" > 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><EFBFBD><EFBFBD><ED9293><EFBFBD><EFBFBD><EFBFBD>v<EFBFBD><76><EFBFBD>O<EFBFBD><4F><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
Rem <20><><EFBFBD>܂<EFBFBD><DC82>B<EFBFBD><42><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̓<EFBFBD><CD83>\<5C>[<5B>X<EFBFBD><58><EFBFBD>W<EFBFBD><57><EFBFBD>g<EFBFBD>p<EFBFBD><70><EFBFBD><EFBFBD><EFBFBD>̂ŁA<C581>V<EFBFBD>X<EFBFBD>e<EFBFBD><65><EFBFBD>̃p<CC83>t<EFBFBD>H<EFBFBD>[<5B>}<7D><>
Rem <20>X<EFBFBD>ɑ<C991><E582AB><EFBFBD>e<EFBFBD><65><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD>A<EFBFBD>v<EFBFBD><76><EFBFBD>P<EFBFBD>[<5B>V<EFBFBD><56><EFBFBD><EFBFBD> <20>G<EFBFBD><47><EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B
Rem
If Exist "%COMMON_STARTUP%\JS<4A><53><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̧<EFBFBD><CCA7> <20><><EFBFBD><EFBFBD><EFBFBD>X<EFBFBD>V.LNK" Del "%COMMON_STARTUP%\JS<4A><53><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̧<EFBFBD><CCA7> <20><><EFBFBD><EFBFBD><EFBFBD>X<EFBFBD>V.LNK"
Rem If Exist "%COMMON_STARTUP%\<5C><EFBFBD>Y<EFBFBD>X.LNK" Del "%COMMON_STARTUP%\<5C><EFBFBD>Y<EFBFBD>X.LNK"
Rem If Exist "%COMMON_STARTUP%\JS<4A><53><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.LNK" Del "%COMMON_STARTUP%\JS<4A><53><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.LNK"
Rem If Exist "%COMMON_STARTUP%\Office<63><65><EFBFBD><EFBFBD><EFBFBD>ް.LNK" Del "%COMMON_STARTUP%\Office<63><65><EFBFBD><EFBFBD><EFBFBD>ް.LNK"
Rem If Exist "%COMMON_STARTUP%\<5C><><EFBFBD><EFBFBD><EFBFBD>ޯ<EFBFBD><DEAF><EFBFBD>X<EFBFBD>V<EFBFBD><56><EFBFBD>ޭ<EFBFBD><DEAD>.LNK" Del "%COMMON_STARTUP%\<5C><><EFBFBD><EFBFBD><EFBFBD>ޯ<EFBFBD><DEAF><EFBFBD>X<EFBFBD>V<EFBFBD><56><EFBFBD>ޭ<EFBFBD><DEAD>.LNK"
Rem #########################################################################
Rem
Rem <20>N<EFBFBD>C<EFBFBD>b<EFBFBD>N<EFBFBD>T<EFBFBD>[<5B>`<60>t<EFBFBD>@<40>C<EFBFBD><43>(QUF)<29>X<EFBFBD>V<EFBFBD>Ď<EFBFBD> <20>𒆎~<7E><><EFBFBD><EFBFBD>߂ɁA
Rem <20>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ύX<CF8D><58><EFBFBD>܂<EFBFBD><DC82>B
Rem
Ren "%ITARO9INS%\JSLIB32\JSQSF32.EXE" JSQSF32.E_E > Nul: 2>&1
Rem #########################################################################
Rem
Rem Itr9Usr.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 Itr9Usr %SystemRoot%\System32\UsrLogn2.Cmd >Nul: 2>&1
If Not ErrorLevel 1 Goto Skip1
Echo Call Itr9Usr.Cmd >> %SystemRoot%\System32\UsrLogn2.Cmd
:Skip1
Rem #########################################################################
Echo.
Echo <20><EFBFBD>Y 9 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɍ쓮<C98D><EC93AE><EFBFBD><EFBFBD>߂ɂ́A<CD81><41><EFBFBD>݃<EFBFBD><DD83>O<EFBFBD>I<EFBFBD><49><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482><EFBFBD>[<5B>U<EFBFBD>[<5B><>
Echo <20>A<EFBFBD>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<EFBFBD><74><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD>ēx<C493><78><EFBFBD>O<EFBFBD>I<EFBFBD><49>
Echo <20><><EFBFBD><EFBFBD><EFBFBD>K<EFBFBD>v<EFBFBD><76><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B
Echo.
Echo <20><EFBFBD>Y 9 <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>ݒ肪<DD92><E882AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82><EFBFBD><EFBFBD>B
Pause
:Done