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.

41 lines
1.4 KiB

  1. Rem �ھ� Netscape ���������A�����O�C
  2. if "#NS4VER#" == "4.5x" goto NS45
  3. Rem
  4. Rem Netscape 4.0x
  5. Rem �p�G�w�]���]�w�ɩ|���ƻs���ϥΪ̥D�ؿ��A
  6. Rem �N�N�w�]���]�w�ɽƻs���ϥΪ̥D�ؿ��C
  7. Rem
  8. If Exist "%RootDrive%\NS40" Goto Done
  9. If Not Exist "#PROFDIR#" Goto Done
  10. Xcopy "#PROFDIR#" "%RootDrive%\NS40" /E /I /K >Nul: 2>&1
  11. goto Done
  12. :NS45
  13. Rem
  14. Rem Netscape 4.5x
  15. Rem �b�ϥΪ̪� Netscape �]�w�ɥؿ����]�w ACL�A
  16. Rem �o�˥u���ϥΪ̤~���s�����C
  17. Rem
  18. ..\ACRegL "%Temp%\NS45_1.Cmd" NSHomeDir "HKCU\Software\Netscape\Netscape Navigator\biff" "CurrentUser" ""
  19. If ErrorLevel 1 Goto Done
  20. Call %Temp%\NS45_1.Cmd
  21. Del %Temp%\NS45_1.Cmd >Nul: 2>&1
  22. If Not Exist "#NSUSERDIR#\%NSHomeDir%" Goto Done
  23. If Exist "#NSUSERDIR#\%NSHomeDir%\com45usr.dat" Goto Done
  24. Rem
  25. Rem �ƻs Netscape �ֳt�Ұ� .lnk �ɮ�
  26. Rem
  27. If Exist "#NS40INST#\Netscape Composer.lnk" copy "#NS40INST#\Netscape Composer.lnk" "%UserProfile%\%App_Data%\Microsoft\Internet Explorer\Quick Launch" /y
  28. If Exist "#NS40INST#\Netscape Messenger.lnk" copy "#NS40INST#\Netscape Messenger.lnk" "%UserProfile%\%App_Data%\Microsoft\Internet Explorer\Quick Launch" /y
  29. If Exist "#NS40INST#\Netscape Navigator.lnk" copy "#NS40INST#\Netscape Navigator.lnk" "%UserProfile%\%App_Data%\Microsoft\Internet Explorer\Quick Launch" /y
  30. cacls "#NSUSERDIR#\%NSHomeDir%" /e /t /g %username%:F
  31. cacls "#NSUSERDIR#\%NSHomeDir%" /e /t /r "Terminal Server User"
  32. cacls "#NSUSERDIR#\%NSHomeDir%" /e /t /r "Users"
  33. echo done > "#NSUSERDIR#\%NSHomeDir%\com45usr.dat"
  34. :Done