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.

58 lines
1.6 KiB

  1. rem
  2. rem �ھھ��������]�w __ProgramFiles �ܼ�
  3. rem
  4. Set __ProgramFiles=%ProgramFiles%
  5. If Not "%PROCESSOR_ARCHITECTURE%"=="ALPHA" goto acsrCont1
  6. If Not Exist "%ProgramFiles(x86)%" goto acsrCont1
  7. Set __ProgramFiles=%Program Files(x86)%
  8. :acsrCont1
  9. Rem
  10. Rem �b�ϥΪ̥D�ؿ����إ����ε{�����w����
  11. Rem �Ҧb�ؿ��C
  12. Rem
  13. call TsMkUDir "%RootDrive%\Office95"
  14. call TsMkuDir "%RootDrive%\Office95\Startup"
  15. call TsMkUDir "%RootDrive%\Office95\Templates"
  16. call TsMkuDir "%RootDrive%\Office95\XLStart"
  17. Rem
  18. Rem �p�G�t�Τu���C���s�b�ϥΪ̥D�ؿ����A
  19. Rem �N�N���ƻs���ϥΪ̥D�ؿ��C
  20. Rem
  21. If Exist "%RootDrive%\Office95\ShortCut Bar" Goto Skip1
  22. If Not Exist "#INSTDIR#\Office\ShortCut Bar" Goto Skip1
  23. Xcopy "#INSTDIR#\Office\ShortCut Bar" "%RootDrive%\Office95\ShortCut Bar" /E /I >Nul: 2>&1
  24. :Skip1
  25. Rem
  26. Rem �N���u�Ϯw�ɮ׽ƻs���ϥΪ̥ؿ��C
  27. Rem
  28. If Exist "%RootDrive%\Windows\ArtGalry.Cag" Goto Skip2
  29. If Not Exist "%__ProgramFiles%\Common Files\Microsoft Shared\Artgalry\ArtGalry.cag" Goto Skip2
  30. Copy "%__ProgramFiles%\Common Files\Microsoft Shared\Artgalry\ArtGalry.cag" "%RootDrive%\Windows\ArtGalry.Cag" >Nul: 2>&1
  31. :Skip2
  32. Rem
  33. Rem �b�ϥΪ̥ؿ����إ� Custom.dic �ɮסC
  34. Rem
  35. If Not Exist "%RootDrive%\Office95\Custom.Dic" Copy Nul: "%RootDrive%\Office95\Custom.Dic" >Nul: 2>&1
  36. Rem
  37. Rem �N PowerPoint �Τ��󧨽ƻs���ϥΪ̥ؿ��C
  38. Rem
  39. If Not Exist "%UserProfile%\%TEMPLATES%\BINDER70.OBD" copy "%ALLUSERSPROFILE%\%TEMPLATES%\BINDER70.OBD" "%UserProfile%\%TEMPLATES%\" /Y >Nul: 2>&1
  40. If Not Exist "%UserProfile%\%TEMPLATES%\PPT70.PPT" copy "%ALLUSERSPROFILE%\%TEMPLATES%\PPT70.PPT" "%UserProfile%\%TEMPLATES%\" /Y >Nul: 2>&1