@Echo Off Rem ######################################################################### Rem Rem CMD È®ÀåÀ» »ç¿ëÇÒ ¼ö ÀÖ´ÂÁö È®ÀÎÇÕ´Ï´Ù. Rem if "A%cmdextversion%A" == "AA" ( call cmd /e:on /c eudora4.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 ·¹Áö½ºÆ®¸®¿¡¼­ Eudora ¸í·ÉÁÙÀ» ¾ò½À´Ï´Ù. ..\ACRegL "%Temp%\EPro4.Cmd" EUDTMP "HKCU\Software\Qualcomm\Eudora\CommandLine" "Current" "STRIPCHAR:1" If Not ErrorLevel 1 Goto Cont1 Echo. Echo ·¹Áö½ºÆ®¸®¿¡¼­ Eudora Pro 4.0 ¸í·ÉÁÙÀ» °Ë»öÇÏÁö ¸øÇß½À´Ï´Ù. Echo Eudora Pro 4.0ÀÌ ¼³Ä¡µÇ¾ú´ÂÁö È®ÀÎÇÏ°í ÀÌ ½ºÅ©¸³Æ®¸¦ Echo ´Ù½Ã ½ÇÇàÇϽʽÿÀ. Echo. Pause Goto Done :Cont1 Call %Temp%\EPro4.Cmd Del %Temp%\EPro4.Cmd >Nul: 2>&1 set EudCmd=%EUDTMP:~0,-2% ..\ACRegL "%Temp%\EPro4.Cmd" EUDTMP "HKCU\Software\Qualcomm\Eudora\CommandLine" "Current" "STRIPCHAR:2" If Not ErrorLevel 1 Goto Cont2 Echo. Echo ·¹Áö½ºÆ®¸®¿¡¼­ Eudora Pro 4.0 ¼³Ä¡ µð·ºÅ͸®¸¦ °Ë»öÇÏÁö ¸øÇß½À´Ï´Ù. Echo Eudora Pro 4.0ÀÌ ¼³Ä¡µÇ¾ú´ÂÁö È®ÀÎÇÏ°í ÀÌ ½ºÅ©¸³Æ®¸¦ Echo ´Ù½Ã ½ÇÇàÇϽʽÿÀ. Echo. Pause Goto Done :Cont2 Call %Temp%\EPro4.Cmd Del %Temp%\EPro4.Cmd >Nul: 2>&1 Set EudoraInstDir=%EUDTMP:~0,-13% Rem ######################################################################### If Exist "%EudoraInstDir%\descmap.pce" Goto Cont0 Echo. Echo ÀÌ ÀÀ¿ë ÇÁ·Î±×·¥ ȣȯ ½ºÅ©¸³Æ®¸¦ °è¼ÓÇϱâ Àü¿¡ Eudora 4.0¸¦ ½ÇÇàÇØ¾ß ÇÕ´Ï´Ù. Echo Eudora¸¦ ½ÇÇàÇÑ ÈÄ , Eudora Pro¿¡ ÀÖ´Â Eudora Pro ¹Ù·Î °¡±â¿¡ ´ëÇÑ Echo ´ë»óÀÇ ¼Ó¼ºÀ» ¾÷µ¥ÀÌÆ®ÇÕ´Ï´Ù. Echo %RootDrive%\eudora.ini °ªÀ» Echo ´ë»ó¿¡ Ãß°¡ÇÕ´Ï´Ù. ±×·¯¸é ´ë»óÀº: Echo "%EudoraInstDir%\Eudora.exe" %RootDrive%\eudora.ini°¡ µË´Ï´Ù. Echo. Pause Goto Done :Cont0 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 ..\acsr "#INSTDIR#" "%EudoraInstDir%" Template\Eudora4.Key Eudora4.tmp ..\acsr "#ROOTDRIVE#" "%RootDrive%" Eudora4.tmp Eudora4.key regini eudora4.key > Nul: del eudora4.tmp del eudora4.key Rem ¿ø·¡ ¸ðµå°¡ ½ÇÇà ¸ðµå¿´À¸¸é, ½ÇÇà ¸ðµå·Î ´Ù½Ã º¯°æÇÕ´Ï´Ù. If "%__OrigMode%" == "Exec" Change User /Execute > Nul: Set __OrigMode= Rem descmap.pceÀÇ »ç¿ë ±ÇÇÑÀ» ¾÷µ¥ÀÌÆ®ÇÕ´Ï´Ù. cacls "%EudoraInstDir%\descmap.pce" /E /G "Terminal Server User":R >NUL: 2>&1 Rem ######################################################################### Echo. Echo Eudora Pro 4.0ÀÌ ¿Ã¹Ù¸£°Ô ÀÛ¾÷Çϱâ À§ÇØ Echo ÇöÀç ·Î±×¿ÂµÇ¾î ÀÖ´Â »ç¿ëÀÚ°¡ ·Î±×¿ÀÇÁÇÏ°í ´Ù½Ã ·Î±×¿ÂÇÑ ÈÄ Echo Eudora Pro 4.0¸¦ ½ÇÇàÇØ¾ß ÇÕ´Ï´Ù. Echo. Echo Eudora 4.0 ´ÙÁß »ç¿ëÀÚ ÀÀ¿ë ÇÁ·Î±×·¥ Á¶Á¤ ¿Ï·á Pause :done