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.

39 lines
1.1 KiB

  1. @Echo Off
  2. Rem
  3. Rem This script updates the installation of Microsoft Internet
  4. Rem Explorer 3.x. It changes the path of the cache directory,
  5. Rem history directory, and cookies file to the user's home
  6. Rem directory.
  7. Rem
  8. Rem #########################################################################
  9. Rem
  10. Rem Verify that %RootDrive% has been configured and set it for this
  11. Rem script.
  12. Rem
  13. Call "%SystemRoot%\Application Compatibility Scripts\ChkRoot.Cmd"
  14. If "%_CHKROOT%" == "FAIL" Goto Done
  15. Rem #########################################################################
  16. Rem If not currently in Install Mode, change to Install Mode.
  17. Set __OrigMode=Install
  18. ChgUsr /query > Nul:
  19. if Not ErrorLevel 101 Goto Begin
  20. Set __OrigMode=Exec
  21. Change User /Install > Nul:
  22. :Begin
  23. ..\acsr "#ROOTDRIVE#" "%RootDrive%" Template\msie30.Key msie30.Key
  24. regini msie30.key > Nul:
  25. Rem If original mode was execute, change back to Execute Mode.
  26. If "%__OrigMode%" == "Exec" Change User /Execute > Nul:
  27. Set __OrigMode=
  28. Echo Microsoft Internet Explorer 3.x Multi-user Application Tuning Complete
  29. Pause
  30. :Done