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.

37 lines
1.1 KiB

  1. Rem
  2. Rem Create directories for application specific data in the
  3. Rem user's home directory.
  4. Rem
  5. call TsMkUDir "%RootDrive%\Office97"
  6. call TsMkUDir "%RootDrive%\Office97\Startup"
  7. call TsMkUDir "%RootDrive%\Office97\Templates"
  8. call TsMkUDir "%RootDrive%\%MY_DOCUMENTS%"
  9. Rem
  10. Rem copy this file from the all users templates to the current user templates location
  11. Rem
  12. If Not Exist "%UserProfile%\%TEMPLATES%\WINWORD8.DOC" copy "%ALLUSERSPROFILE%\%TEMPLATES%\WINWORD8.DOC" "%UserProfile%\%Templates%\" /Y >Nul: 2>&1
  13. Rem
  14. Rem Copy the ARTGALRY.CAG to user's windows directory
  15. Rem
  16. If Exist "%RootDrive%\Windows\ArtGalry.Cag" Goto Skip1
  17. Copy "%SystemRoot%\ArtGalry.Cag" "%RootDrive%\Windows\ArtGalry.Cag" >Nul: 2>&1
  18. :Skip1
  19. Rem
  20. Rem Copy Custom.dic file to user's directory
  21. Rem
  22. If Exist "%RootDrive%\Office97\Custom.Dic" Goto Skip2
  23. If Not Exist "#INSTDIR#\Office\Custom.Dic" Goto Skip2
  24. Copy "#INSTDIR#\Office\Custom.Dic" "%RootDrive%\Office97\Custom.Dic" >Nul: 2>&1
  25. :Skip2
  26. If Exist "%RootDrive%\Office97\GR8GALRY.GRA" Goto Skip3
  27. If Not Exist "#INSTDIR#\Office\GR8GALRY.GRA" Goto Skip3
  28. Copy "#INSTDIR#\Office\GR8GALRY.GRA" "%RootDrive%\Office97\GR8GALRY.GRA" >Nul: 2>&1
  29. :Skip3