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

89 lines
2.7 KiB
Batchfile
Raw Normal View History

2020-09-26 03:20:57 -05:00
Rem #########################################################################
Rem
Rem <20>N "Microsoft Office <20>ֱ<EFBFBD><D6B1>C.lnk" <20>ɮױq Office <20>w<EFBFBD>ˮڥؿ<DAA5><D8BF>ƻs<C6BB><73>
Rem <20>ثe<D8AB>ϥΪ̪<CEAA> [<5B>Ұ<EFBFBD>] <20>\<5C><><EFBFBD><EFBFBD><EFBFBD>C
Rem
If Exist "%RootDrive%\Office97" Goto Skip0
If Exist "%USER_STARTUP%\Microsoft Office <20>ֱ<EFBFBD><D6B1>C.lnk" Goto Skip0
If Not Exist "#INSTDIR#\Microsoft Office <20>ֱ<EFBFBD><D6B1>C.lnk" Goto Skip0
Copy "#INSTDIR#\Microsoft Office <20>ֱ<EFBFBD><D6B1>C.lnk" "%USER_STARTUP%\Microsoft Office <20>ֱ<EFBFBD><D6B1>C.lnk" >Nul: 2>&1
:Skip0
Rem
Rem <20>b<EFBFBD>ϥΪ̥D<CCA5>ؿ<EFBFBD><D8BF><EFBFBD><EFBFBD>إ<EFBFBD><D8A5><EFBFBD><EFBFBD>ε{<7B><><EFBFBD><EFBFBD><EFBFBD>w<EFBFBD><77><EFBFBD>ƪ<EFBFBD><C6AA>ؿ<EFBFBD><D8BF>C
Rem
call TsMkUDir "%RootDrive%\Office97"
call TsMkUDir "%RootDrive%\Office97\Startup"
call TsMkUDir "%RootDrive%\Office97\Templates"
call TsMkuDir "%RootDrive%\Office97\XLStart"
call TsMkUDir "%RootDrive%\%MY_DOCUMENTS%"
Rem
Rem <20>N<EFBFBD>U<EFBFBD>C<EFBFBD>ɮױq<D7B1>Ҧ<EFBFBD><D2A6>ϥΪ̽d<CCBD><64><EFBFBD><EFBFBD><EFBFBD>ƻs<C6BB><73><EFBFBD>ثe<D8AB>ϥΪ̽d<CCBD><64><EFBFBD>Ҧb<D2A6><62><EFBFBD>m<EFBFBD>C
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>N<EFBFBD>t<EFBFBD>Τu<CEA4><75><EFBFBD>C<EFBFBD>ƻs<C6BB><73><EFBFBD>ϥΪ̪<CEAA><CCAA>D<EFBFBD>ؿ<EFBFBD> (<28>p<EFBFBD>G<EFBFBD>t<EFBFBD>Τu<CEA4><75><EFBFBD>C<EFBFBD><43><EFBFBD>s<EFBFBD>b<EFBFBD><62><EFBFBD><EFBFBD>)<29>C
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>ƻs<C6BB><73><EFBFBD><EFBFBD><EFBFBD>ؿ<EFBFBD><D8BF>A<EFBFBD><41> Outlook <20>i<EFBFBD>H<EFBFBD>ϥ<EFBFBD> Word <20>@<40><><EFBFBD>s<EFBFBD><EFBFBD>C
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 <20>N ARTGALRY.CAG <20>ƻs<C6BB><73><EFBFBD>ϥΪ<CFA5> windows <20>ؿ<EFBFBD><D8BF>C
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 <20>N Custom.dic <20>ɮ׽ƻs<C6BB><73><EFBFBD>ϥΪ̥ؿ<CCA5><D8BF>C
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>N Graph <20>ɮ׽ƻs<C6BB><73><EFBFBD>ϥΪ̥ؿ<CCA5><D8BF>C
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