102 lines
3 KiB
Batchfile
102 lines
3 KiB
Batchfile
|
@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 ATOK 11 <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%\atok11.Cmd ATOK11INS "HKLM\SOFTWARE\Justsystem\Common\SETUP\Folder" "Atok11" ""
|
|||
|
If Not ErrorLevel 1 Goto Cont0
|
|||
|
Echo.
|
|||
|
Echo <20><><EFBFBD>W<EFBFBD>X<EFBFBD>g<EFBFBD><67><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ATOK 11 <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 11 <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%\atok11.Cmd
|
|||
|
Del %Temp%\atok11.Cmd > Nul: 2>&1
|
|||
|
|
|||
|
|
|||
|
Rem #########################################################################
|
|||
|
Rem
|
|||
|
Rem ATOK 11 <20>p<EFBFBD>̃<EFBFBD><CC83>W<EFBFBD>X<EFBFBD>g<EFBFBD><67> <20>L<EFBFBD>[ <20>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\atok11.Reg atok11.Reg
|
|||
|
|
|||
|
|
|||
|
Rem #########################################################################
|
|||
|
Rem
|
|||
|
Rem ATOK 11 <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 atok11.Reg
|
|||
|
|
|||
|
|
|||
|
Rem #########################################################################
|
|||
|
Rem
|
|||
|
Rem ATOK 11 <20>p<EFBFBD>̃<EFBFBD><CC83>W<EFBFBD>X<EFBFBD>g<EFBFBD><67> <20>L<EFBFBD>[ <20>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\atk11usr.Reg ..\Logon\atk11usr.Reg
|
|||
|
|
|||
|
|
|||
|
Rem #########################################################################
|
|||
|
Rem
|
|||
|
Rem ATOK11PV.INI <20><><EFBFBD>쐬<EFBFBD><EC90AC><EFBFBD>܂<EFBFBD><DC82>B
|
|||
|
Rem
|
|||
|
|
|||
|
copy "%SystemRoot%\ATOK11W.INI" "%ATOK11INS%\ATOK11PV.INI" > Nul: 2>&1
|
|||
|
|
|||
|
|
|||
|
Rem #########################################################################
|
|||
|
Rem
|
|||
|
Rem ATOK11PV.INI <20><><EFBFBD>}<7D><><EFBFBD>`<60><><EFBFBD>[<5B>U<EFBFBD>[<5B>d<EFBFBD>l<EFBFBD>ɕύX<CF8D><58><EFBFBD>܂<EFBFBD><DC82>B
|
|||
|
Rem
|
|||
|
|
|||
|
..\acsr "%ATOK11INS%" "%RootDrive%\JUST\ATOK11" "%ATOK11INS%\ATOK11PV.INI" "%ATOK11INS%\ATOK11PV.tmp1"
|
|||
|
Del "%ATOK11INS%\ATOK11PV.INI" > Nul: 2>&1
|
|||
|
..\acsr "<EFBFBD>V<EFBFBD>X<EFBFBD>e<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>=%RootDrive%\JUST\ATOK11" "<EFBFBD>V<EFBFBD>X<EFBFBD>e<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>=%ATOK11INS%" "%ATOK11INS%\ATOK11PV.tmp1" "%ATOK11INS%\ATOK11PV.tmp2"
|
|||
|
Del "%ATOK11INS%\ATOK11PV.tmp1" > Nul: 2>&1
|
|||
|
..\acsr "<EFBFBD>⏕<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>P=%RootDrive%\JUST\ATOK11" "<EFBFBD>⏕<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>P=%ATOK11INS%" "%ATOK11INS%\ATOK11PV.tmp2" "%ATOK11INS%\ATOK11PV.INI"
|
|||
|
Del "%ATOK11INS%\ATOK11PV.tmp2" > Nul: 2>&1
|
|||
|
|
|||
|
|
|||
|
Rem #########################################################################
|
|||
|
Rem
|
|||
|
Rem Atk11Usr.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 Atk11Usr %SystemRoot%\System32\UsrLogn2.Cmd >Nul: 2>&1
|
|||
|
If Not ErrorLevel 1 Goto Skip1
|
|||
|
Echo Call Atk11Usr.Cmd >> %SystemRoot%\System32\UsrLogn2.Cmd
|
|||
|
|
|||
|
:Skip1
|
|||
|
|
|||
|
|
|||
|
Rem #########################################################################
|
|||
|
Echo.
|
|||
|
Echo ATOK 11 <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 ATOK 11 <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
|
|||
|
Echo.
|
|||
|
Pause
|
|||
|
|
|||
|
:Done
|