@Echo Off Rem ######################################################################### Rem Rem CMD È®ÀåÀ» »ç¿ëÇÒ ¼ö ÀÖ´ÂÁö È®ÀÎÇÕ´Ï´Ù. Rem if "A%cmdextversion%A" == "AA" ( call cmd /e:on /c netcom40.cmd ) else ( goto ExtOK ) goto Done :ExtOK Rem ######################################################################### Rem Rem %RootDrive%°¡ ±¸¼ºµÇ¾ú´ÂÁö È®ÀÎÇÏ°í ÀÌ ½ºÅ©¸³Æ®¿¡ ´ëÇØ ¼³Á¤ÇÕ´Ï´Ù. Rem Call "%SystemRoot%\Application Compatibility Scripts\ChkRoot.Cmd" If "%_CHKROOT%" == "FAIL" Goto Done Call "%SystemRoot%\Application Compatibility Scripts\SetPaths.Cmd" If "%_SETPATHS%" == "FAIL" Goto Done Rem ######################################################################### Rem Rem NetScape(4.5x´Â 4.0x°ú ´Ù¸§) ¹öÀüÀ» ¾ò½À´Ï´Ù. Rem ..\ACRegL "%Temp%\NS4VER.Cmd" NS4VER "HKLM\Software\Netscape\Netscape Navigator" "CurrentVersion" "STRIPCHAR(1" If Not ErrorLevel 1 Goto Cont0 Echo. Echo ·¹Áö½ºÆ®¸®¿¡¼­ Netscape Communicator 4 ¹öÀüÀ» °Ë»öÇÒ ¼ö ¾ø½À´Ï´Ù. Echo Communicator°¡ ¼³Ä¡µÇ¾î ÀÖ´ÂÁö È®ÀÎÇÏ°í Echo ÀÌ ½ºÅ©¸³Æ®¸¦ ´Ù½Ã ½ÇÇàÇϽʽÿÀ. Echo. Pause Goto Done :Cont0 Call "%Temp%\NS4VER.Cmd" Del "%Temp%\NS4VER.Cmd" >Nul: 2>&1 if /i "%NS4VER%" LSS "4.5 " goto NS40x Rem ######################################################################### Rem Netscape 4.5x Rem Rem ·¹Áö½ºÆ®¸®¿¡¼­ Netscape Communicator 4.5 ¼³Ä¡ À§Ä¡¸¦ ¾ò½À´Ï´Ù. Rem Á¤º¸°¡ ¾øÀ¸¸é, Communicator°¡ ¼³Ä¡µÇ¾î ÀÖÁö ¾ÊÀº °ÍÀ¸·Î °£ÁÖÇÏ°í Rem ¿À·ù ¸Þ½ÃÁö¸¦ Ç¥½ÃÇÕ´Ï´Ù. Rem ..\ACRegL "%Temp%\NS45.Cmd" NS40INST "HKCU\Software\Netscape\Netscape Navigator\Main" "Install Directory" "Stripchar\1" If Not ErrorLevel 1 Goto Cont1 Echo. Echo ·¹Áö½ºÆ®¸®¿¡¼­ Netscape Communicator 4.5 ¹öÀüÀ» °Ë»öÇÒ ¼ö ¾ø½À´Ï´Ù. Echo Communicator°¡ ¼³Ä¡µÇ¾î ÀÖ´ÂÁö È®ÀÎÇÏ°í Echo ÀÌ ½ºÅ©¸³Æ®¸¦ ´Ù½Ã ½ÇÇàÇϽʽÿÀ. Echo. Pause Goto Done :Cont1 Call "%Temp%\NS45.Cmd" Del "%Temp%\NS45.Cmd" >Nul: 2>&1 Rem ######################################################################### Rem Rem Com40Usr.Cmd¸¦ ¾÷µ¥ÀÌÆ®ÇÏ¿© ±âº» NetScape Users µð·ºÅ͸®¸¦ ¹Ý¿µÇÏ°í Rem UsrLogn2.Cmd ½ºÅ©¸³Æ®¿¡ Ãß°¡ÇÕ´Ï´Ù. Rem ..\acsr "#NSUSERDIR#" "%ProgramFiles%\Netscape\Users" ..\Logon\Template\Com40Usr.Cmd ..\Logon\Com40Usr.tmp ..\acsr "#NS40INST#" "%NS40INST%" ..\Logon\Com40Usr.tmp ..\Logon\Com40Usr.tm2 ..\acsr "#NS4VER#" "4.5x" ..\Logon\Com40Usr.tm2 ..\Logon\Com40Usr.Cmd Rem ######################################################################### Rem Rem "quick launch" ¾ÆÀÌÄÜÀ» netscape µð·ºÅ͸®·Î º¹»çÇÏ¿© Rem »ç¿ëÀÚ°¡ °¢ »ç¿ëÀÚ ÇÁ·ÎÇÊ µð·ºÅ͸®¿¡ º¹»çÇÒ ¼ö ÀÖ°Ô ÇÕ´Ï´Ù. Rem If Exist "%UserProfile%\%App_Data%\Microsoft\Internet Explorer\Quick Launch\Netscape Composer.lnk" copy "%UserProfile%\%App_Data%\Microsoft\Internet Explorer\Quick Launch\Netscape Composer.lnk" "%NS40INST%" If Exist "%UserProfile%\%App_Data%\Microsoft\Internet Explorer\Quick Launch\Netscape Messenger.lnk" copy "%UserProfile%\%App_Data%\Microsoft\Internet Explorer\Quick Launch\Netscape Messenger.lnk" "%NS40INST%" If Exist "%UserProfile%\%App_Data%\Microsoft\Internet Explorer\Quick Launch\Netscape Navigator.lnk" copy "%UserProfile%\%App_Data%\Microsoft\Internet Explorer\Quick Launch\Netscape Navigator.lnk" "%NS40INST%" goto DoUsrLogn :NS40x Rem ######################################################################### Rem Netscape 4.0x Rem Rem ·¹Áö½ºÆ®¸®¿¡¼­ Netscape Communicator 4 ¼³Ä¡ À§Ä¡¸¦ ¾ò½À´Ï´Ù. Rem Á¤º¸°¡ ¾øÀ¸¸é, Communicator°¡ ¼³Ä¡µÇ¾î ÀÖÁö ¾ÊÀº °ÍÀ¸·Î °£ÁÖÇÏ°í Rem ¿À·ù ¸Þ½ÃÁö¸¦ Ç¥½ÃÇÕ´Ï´Ù. Rem ..\ACRegL "%Temp%\NS40.Cmd" NS40INST "HKCU\Software\Netscape\Netscape Navigator\Main" "Install Directory" "" If Not ErrorLevel 1 Goto Cont2 Echo. Echo ·¹Áö½ºÆ®¸®¿¡¼­ Netscape Communicator 4 ¹öÀüÀ» °Ë»öÇÒ ¼ö ¾ø½À´Ï´Ù. Echo Communicator°¡ ¼³Ä¡µÇ¾î ÀÖ´ÂÁö È®ÀÎÇÏ°í Echo ÀÌ ½ºÅ©¸³Æ®¸¦ ´Ù½Ã ½ÇÇàÇϽʽÿÀ. Echo. Pause Goto Done :Cont2 Call "%Temp%\NS40.Cmd" Del "%Temp%\NS40.Cmd" >Nul: 2>&1 Rem ######################################################################### Rem Rem ±âº» ÇÁ·ÎÆÄÀÏÀ» administratorÀÇ È¨ µð·ºÅ͸®¿¡¼­ Rem ¾Ë·ÁÁø À§Ä¡·Î º¹»çÇÕ´Ï´Ù. ÀÌ ÇÁ·ÎÇÊÀº ·Î±×¿ÂÇÏ´Â µ¿¾È °¢ »ç¿ëÀÚ µð·ºÅ͸®·Î Rem º¹»çµË´Ï´Ù. ±Û·Î¹ú ±âº» ÇÁ·ÎÇÊÀÌ ÀÌ¹Ì ÀÖÀ¸¸é µ¤¾î¾²Áö ¾Ê½À´Ï´Ù. Rem ±×·¸Áö ¾ÊÀ¸¸é AdminÀÌ ÀÌ ½ºÅ©¸³Æ®¸¦ ÈξÀ ³ªÁß¿¡ ½ÇÇàÇÏ¿© Rem ¸ðµç °³ÀÎ Á¤º¸¸¦ ±Û·Î¹ú ±âº» ÇÁ·ÎÇÊ·Î À̵¿ÇÕ´Ï´Ù. Rem If Exist %RootDrive%\NS40 Goto Cont3 Echo. Echo %RootDrive%\NS40¿¡ ±âº» ÇÁ·ÎÇÊÀÌ ¾ø½À´Ï´Ù. Echo »ç¿ëÀÚ ÇÁ·ÎÇÊ °ü¸®ÀÚ¸¦ ½ÇÇàÇÏ°í "Default"¶ó´Â À̸§ÀÇ ÇÁ·ÎÇÊÀ» Çϳª ¸¸µå½Ê½Ã¿À. Echo ÇÁ·ÎÇÊ °æ·Î¸¦ ÀÔ·ÂÇ϶ó°í ³ª¿À¸é À§¿¡ Ç¥½ÃµÈ °æ·Î¸¦ »ç¿ëÇϽʽÿÀ. Echo ¸ðµç À̸§ ¹× ÀüÀÚ ¸ÞÀÏ À̸§ Ç׸ñÀº ºñ¿ö µÎ½Ê½Ã¿À. ´Ù¸¥ ÇÁ·ÎÇÊÀÌ ÀÖÀ¸¸é Echo Áö¿ì½Ê½Ã¿À. ÀÌ ´Ü°è¸¦ ¿Ï·áÇϸé ÀÌ ½ºÅ©¸³Æ®¸¦ Echo ´Ù½Ã ½ÇÇàÇϽʽÿÀ. Echo. Pause Goto Done :Cont3 If Exist "%NS40INST%\DfltProf" Goto Cont4 Xcopy "%RootDrive%\NS40" "%NS40INST%\DfltProf" /E /I /K >NUL: 2>&1 :Cont4 Rem ######################################################################### Rem Rem »ç¿ëÀÚ ÇÁ·ÎÇÊ °ü¸®ÀÚ ½ÃÀÛ ¸Þ´º ¹Ù·Î °¡±â¿¡¼­ »ç¿ëÀÚ¿¡ ´ëÇÑ Àб⠱ÇÇÑÀ» Á¦°ÅÇϽʽÿÀ. Rem ±×·¸°Ô Çϸé ÀÏ¹Ý »ç¿ëÀÚ°¡ »õ »ç¿ëÀÚ ÇÁ·ÎÇÊÀ» Ãß°¡ÇÒ ¼ö ¾ø½À´Ï´Ù. Rem ±×·¡µµ administrator´Â ¿©ÀüÈ÷ »ç¿ëÀÚ ÇÁ·ÎÇÊ °ü¸®ÀÚ¸¦ ½ÇÇàÇÒ ¼ö ÀÖ½À´Ï´Ù. Rem If Not Exist "%COMMON_PROGRAMS%\Netscape Communicator\Utilities\User Profile Manager.Lnk" Goto Cont5 Cacls "%COMMON_PROGRAMS%\Netscape Communicator\Utilities\User Profile Manager.Lnk" /E /R "Authenticated Users" >Nul: 2>&1 Cacls "%COMMON_PROGRAMS%\Netscape Communicator\Utilities\User Profile Manager.Lnk" /E /R "Users" >Nul: 2>&1 Cacls "%COMMON_PROGRAMS%\Netscape Communicator\Utilities\User Profile Manager.Lnk" /E /R "Everyone" >Nul: 2>&1 :Cont5 If Not Exist "%COMMON_PROGRAMS%\Netscape Communicator Professional Edition\Utilities\User Profile Manager.Lnk" Goto Cont6 Cacls "%COMMON_PROGRAMS%\Netscape Communicator Professional Edition\Utilities\User Profile Manager.Lnk" /E /R "Authenticated Users" >Nul: 2>&1 Cacls "%COMMON_PROGRAMS%\Netscape Communicator Professional Edition\Utilities\User Profile Manager.Lnk" /E /R "Users" >Nul: 2>&1 Cacls "%COMMON_PROGRAMS%\Netscape Communicator Professional Edition\Utilities\User Profile Manager.Lnk" /E /R "Everyone" >Nul: 2>&1 :Cont6 Rem ######################################################################### Rem Rem Com40Usr.Cmd¸¦ ¾÷µ¥ÀÌÆ®ÇÏ¿© ½ÇÁ¦ ¼³Ä¡ µð·ºÅ͸®¸¦ ¹Ý¿µÇÏ°í À̸¦ Rem UsrLogn2.Cmd ½ºÅ©¸³Æ®¿¡ Ãß°¡ÇÕ´Ï´Ù. Rem ..\acsr "#PROFDIR#" "%NS40INST%\DfltProf" ..\Logon\Template\Com40Usr.Cmd ..\Logon\Com40Usr.tmp ..\acsr "#NS4VER#" "4.0x" ..\Logon\Com40Usr.tmp ..\Logon\Com40Usr.Cmd :DoUsrLogn del ..\Logon\Com40Usr.tmp >Nul: 2>&1 del ..\Logon\Com40Usr.tm2 >Nul: 2>&1 FindStr /I Com40Usr %SystemRoot%\System32\UsrLogn2.Cmd >Nul: 2>&1 If Not ErrorLevel 1 Goto Skip1 Echo Call Com40Usr.Cmd >> %SystemRoot%\System32\UsrLogn2.Cmd :Skip1 Echo. Echo Netscape Communicator°¡ ¿Ã¹Ù¸£°Ô ÀÛ¾÷Çϱâ À§ÇØ Echo ÇöÀç ·Î±×¿ÂµÇ¾î ÀÖ´Â »ç¿ëÀÚ°¡ ·Î±×¿ÀÇÁÇÏ°í ´Ù½Ã ·Î±×¿ÂÇÑ ÈÄ Echo ÀÀ¿ë ÇÁ·Î±×·¥À» ½ÃÀÛÇØ¾ß ÇÕ´Ï´Ù. Echo. Echo Netscape Communicator 4 ´ÙÁß »ç¿ëÀÚ ÀÀ¿ë ÇÁ·Î±×·¥ Á¶Á¤ ¿Ï·á Pause :done