42 lines
1.5 KiB
Batchfile
42 lines
1.5 KiB
Batchfile
|
Rem Netscape <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ϴ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>ɾ <20><><EFBFBD><EFBFBD><EFBFBD>մϴ<D5B4>.
|
|||
|
if "#NS4VER#" == "4.5x" goto NS45
|
|||
|
|
|||
|
Rem
|
|||
|
Rem Netscape 4.0x
|
|||
|
Rem <20>⺻ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Ȩ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><CDB8><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
Rem <20><><EFBFBD><EFBFBD><EFBFBD>մϴ<D5B4>.
|
|||
|
Rem
|
|||
|
|
|||
|
If Exist "%RootDrive%\NS40" Goto Done
|
|||
|
If Not Exist "#PROFDIR#" Goto Done
|
|||
|
Xcopy "#PROFDIR#" "%RootDrive%\NS40" /E /I /K >Nul: 2>&1
|
|||
|
goto Done
|
|||
|
|
|||
|
:NS45
|
|||
|
Rem
|
|||
|
Rem Netscape 4.5x
|
|||
|
Rem <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Netscape <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><CDB8><EFBFBD> ACL<43><4C> <20><><EFBFBD><EFBFBD><EFBFBD>Ͽ<EFBFBD>
|
|||
|
Rem <20><> <20><><EFBFBD>Ͽ<EFBFBD> <20>ִ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ڸ<EFBFBD> <20><EFBFBD><D7BC><EFBFBD><EFBFBD><EFBFBD> <20><> <20>ְ<EFBFBD> <20>մϴ<D5B4>.
|
|||
|
Rem
|
|||
|
|
|||
|
..\ACRegL "%Temp%\NS45_1.Cmd" NSHomeDir "HKCU\Software\Netscape\Netscape Navigator\biff" "CurrentUser" ""
|
|||
|
If ErrorLevel 1 Goto Done
|
|||
|
Call %Temp%\NS45_1.Cmd
|
|||
|
Del %Temp%\NS45_1.Cmd >Nul: 2>&1
|
|||
|
|
|||
|
If Not Exist "#NSUSERDIR#\%NSHomeDir%" Goto Done
|
|||
|
If Exist "#NSUSERDIR#\%NSHomeDir%\com45usr.dat" Goto Done
|
|||
|
|
|||
|
Rem
|
|||
|
Rem Netscape <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> .lnk <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>մϴ<D5B4>.
|
|||
|
Rem
|
|||
|
If Exist "#NS40INST#\Netscape Composer.lnk" copy "#NS40INST#\Netscape Composer.lnk" "%UserProfile%\%App_Data%\Microsoft\Internet Explorer\Quick Launch" /y
|
|||
|
If Exist "#NS40INST#\Netscape Messenger.lnk" copy "#NS40INST#\Netscape Messenger.lnk" "%UserProfile%\%App_Data%\Microsoft\Internet Explorer\Quick Launch" /y
|
|||
|
If Exist "#NS40INST#\Netscape Navigator.lnk" copy "#NS40INST#\Netscape Navigator.lnk" "%UserProfile%\%App_Data%\Microsoft\Internet Explorer\Quick Launch" /y
|
|||
|
|
|||
|
cacls "#NSUSERDIR#\%NSHomeDir%" /e /t /g %username%:F
|
|||
|
cacls "#NSUSERDIR#\%NSHomeDir%" /e /t /r "Terminal Server User"
|
|||
|
cacls "#NSUSERDIR#\%NSHomeDir%" /e /t /r "Users"
|
|||
|
echo <20>Ϸ<EFBFBD> > "#NSUSERDIR#\%NSHomeDir%\com45usr.dat"
|
|||
|
:Done
|