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

101 lines
3.8 KiB
Batchfile
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
Rem #########################################################################
Rem
Rem "Microsoft Office <20><><EFBFBD>Ķ<EFBFBD><C4B6> <20>ް.lnk" <20>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD> Office <20>C<EFBFBD><43><EFBFBD>X<EFBFBD>g<EFBFBD>[<5B><> <20><><EFBFBD>[<5B>g<EFBFBD><67><EFBFBD><EFBFBD>
Rem <20><><EFBFBD>݂̃<DD82><CC83>[<5B>U<EFBFBD>[<5B>̃X<CC83>^<5E>[<5B>g<EFBFBD>A<EFBFBD>b<EFBFBD>v <20><><EFBFBD>j<EFBFBD><6A><EFBFBD>[<5B>ɃR<C983>s<EFBFBD>[<5B><><EFBFBD>܂<EFBFBD><DC82>B
Rem
If Exist "%RootDrive%\Office97" Goto Skip0
If Exist "%USER_STARTUP%\Microsoft Office <20><><EFBFBD>Ķ<EFBFBD><C4B6> <20>ް.lnk" Goto Skip0
If Not Exist "#INSTDIR#\Microsoft Office <20><><EFBFBD>Ķ<EFBFBD><C4B6> <20>ް.lnk" Goto Skip0
Copy "#INSTDIR#\Microsoft Office <20><><EFBFBD>Ķ<EFBFBD><C4B6> <20>ް.lnk" "%USER_STARTUP%\Microsoft Office <20><><EFBFBD>Ķ<EFBFBD><C4B6> <20>ް.lnk" >Nul: 2>&1
:Skip0
Rem
Rem <20><><EFBFBD>[<5B>U<EFBFBD>[<5B>̃z<CC83>[<5B><> <20>f<EFBFBD>B<EFBFBD><42><EFBFBD>N<EFBFBD>g<EFBFBD><67><EFBFBD>ɃA<C983>v<EFBFBD><76><EFBFBD>P<EFBFBD>[<5B>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD>ŗL<C597>̃f<CC83>[<5B>^
Rem <20>̃f<CC83>B<EFBFBD><42><EFBFBD>N<EFBFBD>g<EFBFBD><67><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EC90AC><EFBFBD>܂<EFBFBD><DC82>B
Rem
call TsMkUDir "%RootDrive%\Office97"
call TsMkUDir "%RootDrive%\Office97\Startup"
call TsMkUDir "%RootDrive%\Office97\Template"
call TsMkUDir "%RootDrive%\Office97\Template\<5C>ЊO<D08A><4F><EFBFBD><EFBFBD>"
call TsMkuDir "%RootDrive%\Office97\XLStart"
call TsMkUDir "%RootDrive%\%MY_DOCUMENTS%"
Rem
Rem <20>S<EFBFBD><53><EFBFBD>[<5B>U<EFBFBD>[<5B>̃e<CC83><65><EFBFBD>v<EFBFBD><76><EFBFBD>[<5B>g<EFBFBD>ɂ<EFBFBD><C982><EFBFBD><E982B1><EFBFBD><EFBFBD><EFBFBD>̃t<CC83>@<40>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>݂̃<DD82><CC83>[<5B>U<EFBFBD>[<5B>̃e<CC83><65><EFBFBD>v<EFBFBD><76><EFBFBD>[<5B>g<EFBFBD>ɃR<C983>s<EFBFBD>[<5B><><EFBFBD>܂<EFBFBD><DC82>B
Rem
If Not Exist "%UserProfile%\%TEMPLATES%\WINWORD8.DOC" copy "%ALLUSERSPROFILE%\%TEMPLATES%\WINWORD8.DOC" "%UserProfile%\%TEMPLATES%\" /Y >Nul: 2>&1
If Not Exist "%UserProfile%\%TEMPLATES%\EXCEL8.XLS" copy "%ALLUSERSPROFILE%\%TEMPLATES%\EXCEL8.XLS" "%UserProfile%\%TEMPLATES%\" /Y >Nul: 2>&1
If Not Exist "%UserProfile%\%TEMPLATES%\BINDER.OBD" copy "%ALLUSERSPROFILE%\%TEMPLATES%\BINDER.OBD" "%UserProfile%\%TEMPLATES%\" /Y >Nul: 2>&1
Rem
Rem <20>V<EFBFBD>X<EFBFBD>e<EFBFBD><65> <20>c<EFBFBD>[<5B><><EFBFBD>o<EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD>[<5B>U<EFBFBD>[<5B>̃z<CC83>[<5B><> <20>f<EFBFBD>B<EFBFBD><42><EFBFBD>N<EFBFBD>g<EFBFBD><67><EFBFBD>ɃR<C983>s<EFBFBD>[<5B><><EFBFBD>܂<EFBFBD><DC82>B
Rem <20><><EFBFBD>ɃR<C983>s<EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD><EFBFBD>̓R<CD83>s<EFBFBD>[<5B><><EFBFBD>܂<EFBFBD><DC82><EFBFBD><EFBFBD>B
Rem
If Exist "%RootDrive%\Office97\ShortCut Bar" Goto Skip1
If Not Exist "#INSTDIR#\Office\ShortCut Bar" Goto Skip1
Xcopy "#INSTDIR#\Office\ShortCut Bar" "%RootDrive%\Office97\ShortCut Bar" /E /I >Nul: 2>&1
:Skip1
Rem
Rem <20>t<EFBFBD>H<EFBFBD>[<5B><> <20>f<EFBFBD>B<EFBFBD><42><EFBFBD>N<EFBFBD>g<EFBFBD><67><EFBFBD><EFBFBD><EFBFBD>R<EFBFBD>s<EFBFBD>[<5B><><EFBFBD><EFBFBD> Outlook <20><><EFBFBD><EFBFBD> Word <20><><EFBFBD>G<EFBFBD>f<EFBFBD>B<EFBFBD>^<5E>Ƃ<EFBFBD><C682>Ďg<C48E><67><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɂ<EFBFBD><C982>܂<EFBFBD><DC82>B
Rem
If Exist "%RootDrive%\Windows\Forms" Goto Skip2
If Not Exist "%SystemRoot%\Forms" Goto Skip2
Xcopy "%SystemRoot%\Forms" "%RootDrive%\Windows\Forms" /e /i >Nul: 2>&1
:Skip2
Rem
Rem ARTGALRY.CAG <20><><EFBFBD><EFBFBD><EFBFBD>[<5B>U<EFBFBD>[<5B><> Windows <20>f<EFBFBD>B<EFBFBD><42><EFBFBD>N<EFBFBD>g<EFBFBD><67><EFBFBD>ɃR<C983>s<EFBFBD>[<5B><><EFBFBD>܂<EFBFBD><DC82>B
Rem
If Exist "%RootDrive%\Windows\ArtGalry.Cag" Goto Skip3
If Not Exist "%SystemRoot%\ArtGalry.Cag" Goto Skip3
Copy "%SystemRoot%\ArtGalry.Cag" "%RootDrive%\Windows\ArtGalry.Cag" >Nul: 2>&1
:Skip3
Rem
Rem Custom.dic <20>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[<5B>U<EFBFBD>[<5B>̃f<CC83>B<EFBFBD><42><EFBFBD>N<EFBFBD>g<EFBFBD><67><EFBFBD>ɃR<C983>s<EFBFBD>[<5B><><EFBFBD>܂<EFBFBD><DC82>B
Rem
If Exist "%RootDrive%\Office97\Custom.Dic" Goto Skip4
If Not Exist "#INSTDIR#\Office\Custom.Dic" Goto Skip4
Copy "#INSTDIR#\Office\Custom.Dic" "%RootDrive%\Office97\Custom.Dic" >Nul: 2>&1
:Skip4
Rem
Rem <20>O<EFBFBD><4F><EFBFBD>t <20>t<EFBFBD>@<40>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>[<5B>U<EFBFBD>[<5B>̃f<CC83>B<EFBFBD><42><EFBFBD>N<EFBFBD>g<EFBFBD><67><EFBFBD>ɃR<C983>s<EFBFBD>[<5B><><EFBFBD>܂<EFBFBD><DC82>B
Rem
If Exist "%RootDrive%\Office97\GR8GALRY.GRA" Goto Skip5
If Not Exist "#INSTDIR#\Office\GR8GALRY.GRA" Goto Skip5
Copy "#INSTDIR#\Office\GR8GALRY.GRA" "%RootDrive%\Office97\GR8GALRY.GRA" >Nul: 2>&1
:Skip5
If Exist "%RootDrive%\Office97\XL8GALRY.XLS" Goto Skip6
If Not Exist "#INSTDIR#\Office\XL8GALRY.XLS" Goto Skip6
Copy "#INSTDIR#\Office\XL8GALRY.XLS" "%RootDrive%\Office97\XL8GALRY.XLS" >Nul: 2>&1
:Skip6
REM
REM <20>T<EFBFBD><54><EFBFBD>v<EFBFBD><76> <20>E<EFBFBD>B<EFBFBD>U<EFBFBD>[<5B>h<EFBFBD><68><EFBFBD>C<EFBFBD><43><EFBFBD>X<EFBFBD>g<EFBFBD>[<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD>X<EFBFBD>^<5E>C<EFBFBD><43> <20>e<EFBFBD><65><EFBFBD>v<EFBFBD><76><EFBFBD>[<5B>g<EFBFBD><67><EFBFBD><EFBFBD><EFBFBD>[<5B>U<EFBFBD>[ <20>f<EFBFBD>B<EFBFBD><42><EFBFBD>N<EFBFBD>g<EFBFBD><67><EFBFBD>ɃR<C983>s<EFBFBD>[<5B><><EFBFBD>܂<EFBFBD><DC82>B
REM
If Exist "#INSTDIR#\Template\<5C>Г<EFBFBD><D093><EFBFBD><EFBFBD><EFBFBD>\<5C><><EFBFBD><EFBFBD> <20><><EFBFBD>ް<EFBFBD><DEB0>.wiz" Goto Skip7
If Exist "#INSTDIR#\Template\<5C>ЊO<D08A><4F><EFBFBD><EFBFBD>\<5C><><EFBFBD><EFBFBD> <20><><EFBFBD>ް<EFBFBD><DEB0>.wiz" Goto Skip7
If Not Exist "#INSTDIR#\Template\<5C><><EFBFBD>̑<EFBFBD><CC91>̕<EFBFBD><CC95><EFBFBD>\<5C><><EFBFBD><EFBFBD> <20><><EFBFBD>ް<EFBFBD><DEB0>.wiz" Goto Skip8
:Skip7
If Not Exist "%RootDrive%\Office97\Template\<5C>ЊO<D08A><4F><EFBFBD><EFBFBD>\<5C><><EFBFBD> 1.dot" Copy "#INSTDIR#\Template\<5C>ЊO<D08A><4F><EFBFBD><EFBFBD>\<5C><><EFBFBD> 1.dot" "%RootDrive%\Office97\Template\<5C>ЊO<D08A><4F><EFBFBD><EFBFBD>\<5C><><EFBFBD> 1.dot" >Nul: 2>&1
If Not Exist "%RootDrive%\Office97\Template\<5C>ЊO<D08A><4F><EFBFBD><EFBFBD>\<5C><><EFBFBD> 2.dot" Copy "#INSTDIR#\Template\<5C>ЊO<D08A><4F><EFBFBD><EFBFBD>\<5C><><EFBFBD> 2.dot" "%RootDrive%\Office97\Template\<5C>ЊO<D08A><4F><EFBFBD><EFBFBD>\<5C><><EFBFBD> 2.dot" >Nul: 2>&1
If Not Exist "%RootDrive%\Office97\Template\<5C>ЊO<D08A><4F><EFBFBD><EFBFBD>\<5C><><EFBFBD> 3.dot" Copy "#INSTDIR#\Template\<5C>ЊO<D08A><4F><EFBFBD><EFBFBD>\<5C><><EFBFBD> 3.dot" "%RootDrive%\Office97\Template\<5C>ЊO<D08A><4F><EFBFBD><EFBFBD>\<5C><><EFBFBD> 3.dot" >Nul: 2>&1
:Skip8