windows-nt/Source/XPSP1/NT/termsrv/admtools/appcmpt/cht/com40usr.cmd

42 lines
1.4 KiB
Batchfile
Raw Normal View History

2020-09-26 03:20:57 -05:00
Rem <20>ھ<EFBFBD> Netscape <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD><41><EFBFBD><EFBFBD><EFBFBD>O<EFBFBD>C
if "#NS4VER#" == "4.5x" goto NS45
Rem
Rem Netscape 4.0x
Rem <20>p<EFBFBD>G<EFBFBD>w<EFBFBD>]<5D><><EFBFBD>]<5D>w<EFBFBD>ɩ|<7C><><EFBFBD>ƻs<C6BB><73><EFBFBD>ϥΪ̥D<CCA5>ؿ<EFBFBD><D8BF>A
Rem <20>N<EFBFBD>N<EFBFBD>w<EFBFBD>]<5D><><EFBFBD>]<5D>w<EFBFBD>ɽƻs<C6BB><73><EFBFBD>ϥΪ̥D<CCA5>ؿ<EFBFBD><D8BF>C
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>b<EFBFBD>ϥΪ̪<CEAA> Netscape <20>]<5D>w<EFBFBD>ɥؿ<C9A5><D8BF><EFBFBD><EFBFBD>]<5D>w ACL<43>A
Rem <20>o<EFBFBD>˥u<CBA5><75><EFBFBD>ϥΪ̤~<7E><><EFBFBD>s<EFBFBD><73><EFBFBD><EFBFBD><EFBFBD>C
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 <20>ƻs Netscape <20>ֳt<D6B3>Ұ<EFBFBD> .lnk <20>ɮ<EFBFBD>
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 done > "#NSUSERDIR#\%NSHomeDir%\com45usr.dat"
:Done