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.5 KiB

  1. Rem Netscape �̃o�[�W�����ɉ����ēK�؂ȃR�}���h�����s���܂��B
  2. if "#NS4VER#" == "4.5x" goto NS45
  3. Rem
  4. Rem Netscape 4.0x
  5. Rem �܂��R�s�[�����Ă��Ȃ��ꍇ�A�����̃v���t�@�C�������[�U�[�̃z�[��
  6. Rem �f�B���N�g���ɃR�s�[���܂��B
  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 ���[�U�[�� Netscape �̃v���t�@�C�� �f�B���N�g���� ACL ���ݒ肵�āA���[�U�[������
  16. Rem �A�N�Z�X�ł����悤�ɂ��܂��B
  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 Netscape quick launch .lnk �t�@�C�����R�s�[���܂��B
  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