@Echo Off 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 ÇöÀç »ç¿ëÀÚ ÅÛÇø´¿¡¼­ ¸ðµç »ç¿ëÀÚ ÅÛÇø´ À§Ä¡·Î ÆÄÀÏÀ» º¹»çÇÕ´Ï´Ù. Rem If Not Exist "%ALLUSERSPROFILE%\%TEMPLATES%\WINWORD8.DOC" copy "%UserProfile%\%TEMPLATES%\WINWORD8.DOC" "%ALLUSERSPROFILE%\%TEMPLATES%\" /Y >Nul: 2>&1 Rem ######################################################################### Rem ######################################################################### ..\ACRegL %Temp%\O97.Cmd O97INST "HKLM\Software\Microsoft\Office\8.0" "BinDirPath" "STRIPCHAR\1" If Not ErrorLevel 1 Goto Cont0 Echo. Echo ·¹Áö½ºÆ®¸®¿¡¼­ Word 97 ¼³Ä¡ À§Ä¡¸¦ °Ë»öÇÏÁö ¸øÇß½À´Ï´Ù. Echo Word 97ÀÌ ¼³Ä¡µÇ¾î ÀÖ´ÂÁö È®ÀÎÇÏ°í ÀÌ ½ºÅ©¸³Æ®¸¦ Echo ´Ù½Ã ½ÇÇàÇϽʽÿÀ. Echo. Pause Goto Done :Cont0 Call %Temp%\O97.Cmd Del %Temp%\O97.Cmd >Nul: 2>&1 Rem ######################################################################### Rem Rem ¸ðµç »ç¿ëÀÚ¿¡ ´ëÇØ [½ÃÀÛ] ¸Þ´º¿¡¼­ [»¡¸® ã±â]¸¦ Á¦°ÅÇÕ´Ï´Ù. [»¡¸® ã±â]´Â Rem ¸®¼Ò½º°¡ ¸¹ÀÌ ÇÊ¿äÇϹǷΠ½Ã½ºÅÛ ¼º´É¿¡ ¿µÇâÀ» ÁÝ´Ï´Ù. Rem If Exist "%COMMON_STARTUP%\Microsoft Find Fast.lnk" Del "%COMMON_STARTUP%\Microsoft Find Fast.lnk" >Nul: 2>&1 Rem ######################################################################### Rem Rem ·¹Áö½ºÆ®¸® Å°¸¦ º¯°æÇÏ¿© °æ·Î°¡ »ç¿ëÀÚ ÁöÁ¤ÀÇ µð·ºÅ͸®¸¦ °¡¸®Å°µµ·Ï ÇÕ´Ï´Ù. Rem Rem ÇöÀç ¼³Ä¡ ¸ðµå¿¡ ÀÖÁö ¾ÊÀ¸¸é ¼³Ä¡ ¸ðµå·Î º¯°æÇÕ´Ï´Ù. Set __OrigMode=Install ChgUsr /query > Nul: if Not ErrorLevel 101 Goto Begin Set __OrigMode=Exec Change User /Install > Nul: :Begin Set __SharedTools=Shared Tools If Not "%PROCESSOR_ARCHITECTURE%"=="ALPHA" goto acsrCont1 If Not Exist "%ProgramFiles(x86)%" goto acsrCont1 Set __SharedTools=Shared Tools (x86) :acsrCont1 ..\acsr "#ROOTDRIVE#" "%RootDrive%" Template\MsWord97.Key MsWord97.Tmp ..\acsr "#__SharedTools#" "%__SharedTools%" MsWord97.Tmp MsWord97.Tmp2 ..\acsr "#INSTDIR#" "%O97INST%" MsWord97.Tmp2 MsWord97.Tmp3 ..\acsr "#MY_DOCUMENTS#" "%MY_DOCUMENTS%" MsWord97.Tmp3 MsWord97.key Del MsWord97.Tmp >Nul: 2>&1 Del MsWord97.Tmp2 >Nul: 2>&1 Del MsWord97.Tmp3 >Nul: 2>&1 regini MsWord97.key > Nul: Rem ¿ø·¡ ¸ðµå°¡ ½ÇÇà ¸ðµå¿´À¸¸é, ½ÇÇà ¸ðµå·Î ´Ù½Ã º¯°æÇÕ´Ï´Ù. If "%__OrigMode%" == "Exec" Change User /Execute > Nul: Set __OrigMode= Rem ######################################################################### Rem Rem Wrd97Usr.Cmd¸¦ ¾÷µ¥ÀÌÆ®ÇÏ¿© ½ÇÁ¦ ¼³Ä¡ µð·ºÅ͸®¸¦ ¹Ý¿µÇÏ°í Rem UsrLogn2.Cmd ½ºÅ©¸³Æ®¿¡ Ãß°¡ÇÕ´Ï´Ù. Rem ..\acsr "#INSTDIR#" "%O97INST%" ..\Logon\Template\Wrd97Usr.Cmd ..\Logon\Wrd97Usr.Cmd FindStr /I Wrd97Usr %SystemRoot%\System32\UsrLogn2.Cmd >Nul: 2>&1 If Not ErrorLevel 1 Goto Skip1 Echo Call Wrd97Usr.Cmd >> %SystemRoot%\System32\UsrLogn2.Cmd :Skip1 Echo. Echo MS Word 97ÀÌ ¿Ã¹Ù¸£°Ô ÀÛ¾÷Çϱâ À§ÇØ Echo ÇöÀç ·Î±×¿ÂµÇ¾î ÀÖ´Â »ç¿ëÀÚ°¡ ·Î±×¿ÀÇÁÇÏ°í ´Ù½Ã ·Î±×¿ÂÇÑ ÈÄ Echo ÀÀ¿ë ÇÁ·Î±×·¥À» ½ÃÀÛÇØ¾ß ÇÕ´Ï´Ù. Echo. Echo Microsoft Word 97 ´ÙÁß »ç¿ëÀÚ ÀÀ¿ë ÇÁ·Î±×·¥ Á¶Á¤ ¿Ï·á Pause :Done