Leaked source code of windows server 2003
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.

33 lines
924 B

  1. Rem
  2. Rem Create directories for application specific data in the
  3. Rem user's home directory.
  4. Rem
  5. call TsMkUDir "%RootDrive%\#OFFUDIR#"
  6. call TsMkUDir "%RootDrive%\#OFFUDIR#\Templates"
  7. call TsMkUDir "%RootDrive%\%MY_DOCUMENTS%"
  8. Rem
  9. Rem Copy the forms directory so that Outlook can use Word as the editor
  10. Rem
  11. If Exist "%RootDrive%\Windows\Forms" Goto Skip2
  12. If Not Exist "%SystemRoot%\Forms" Goto Skip2
  13. Xcopy "%SystemRoot%\Forms" "%RootDrive%\Windows\Forms" /e /i >Nul: 2>&1
  14. :Skip2
  15. Rem
  16. Rem Copy Custom.dic file to user's directory
  17. Rem
  18. if "#OFFUDIR#" == "Office95" goto O95
  19. If Exist "%RootDrive%\#OFFUDIR#\Custom.Dic" Goto Skip4
  20. If Not Exist "#INSTDIR#\Office\Custom.Dic" Goto Skip4
  21. Copy "#INSTDIR#\Office\Custom.Dic" "%RootDrive%\#OFFUDIR#\Custom.Dic" >Nul: 2>&1
  22. goto Skip4
  23. :O95
  24. If Not Exist "%RootDrive%\Office95\Custom.dic" Copy Nul: "%RootDrive%\Office95\Custom.dic" > Nul: 2>&1
  25. :Skip4