Source code of Windows XP (NT5)
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
Rem #########################################################################
Rem Rem �N "Microsoft Office �ֱ��C.lnk" �ɮױq Office �w�ˮڥؿ��ƻs�� Rem �ثe�ϥΪ̪� [�Ұ�] �\�����C Rem
If Exist "%RootDrive%\Office97" Goto Skip0 If Exist "%USER_STARTUP%\Microsoft Office �ֱ��C.lnk" Goto Skip0 If Not Exist "#INSTDIR#\Microsoft Office �ֱ��C.lnk" Goto Skip0 Copy "#INSTDIR#\Microsoft Office �ֱ��C.lnk" "%USER_STARTUP%\Microsoft Office �ֱ��C.lnk" >Nul: 2>&1 :Skip0
Rem Rem �b�ϥΪ̥D�ؿ����إ����ε{�����w���ƪ��ؿ��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 �N�U�C�ɮױq�Ҧ��ϥΪ̽d�����ƻs���ثe�ϥΪ̽d���Ҧb���m�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 �N�t�Τu���C�ƻs���ϥΪ̪��D�ؿ� (�p�G�t�Τu���C���s�b����)�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 �ƻs�����ؿ��A�� Outlook �i�H�ϥ� Word �@���s�边�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 �N ARTGALRY.CAG �ƻs���ϥΪ� windows �ؿ��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 �N Custom.dic �ɮƻs���ϥΪ̥ؿ��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 �N Graph �ɮƻs���ϥΪ̥ؿ��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
|