REM ############################################################### REM # # REM # SetPaths # REM # # REM # ´ÙÀ½ °æ·Î¸¦ ȯ°æ º¯¼ö·Î ÃßÃâÇÏ¿© # REM # ÇϵåÄÚµåµÈ ½Ã½ºÅÛ °æ·Î ¹®ÀÚ¿­ÀÌ ¾øÀÌ ½ºÅ©¸³Æ®°¡ ½ÇÇàµÇµµ·Ï # REM # ÇÕ´Ï´Ù. ÀÌ°ÍÀº ½ºÅ©¸³Æ®°¡ ½Ã½ºÅÛ ¾ð¾î¿¡ °ü°è¾øÀÌ # REM # ½ÇÇàµÇ°Ô ÇÕ´Ï´Ù. # REM # # REM # All Users:Startup COMMON_STARTUP # REM # All Users:Start Menu COMMON_START_MENU # REM # All Users:Start Menu\Programs COMMON_PROGRAMS # REM # Current User:Start Menu USER_START_MENU # REM # Current User:Startup USER_STARTUP # REM # Current User:Start Menu\Programs USER_PROGRAMS # REM # Current User:My Documents MY_DOCUMENTS # REM # Current User:Templates TEMPLATES # REM # Current User:Application Data APP_DATA REM # # REM ############################################################### REM ############################################################### REM # ȯ°æ º¯¼ö ¸ðµÎ¸¦ ¼³Á¤Çϴµ¥ GETPATHS ¿É¼ÇÀ» »ç¿ëÇÕ´Ï´Ù. REM ############################################################### "%systemroot%\Application Compatibility Scripts\ACRegL.exe" "%TEMP%\getpaths.cmd" COMMON_PATHS "HKLM\Software" "" GETPATHS If Not ErrorLevel 1 Goto Cont1 Echo. Echo °ø¿ë ¶Ç´Â »ç¿ëÀÚ °æ·Î¸¦ °Ë»öÇÒ ¼ö ¾ø½À´Ï´Ù. Echo. Goto Failure :Cont1 Call "%TEMP%\getpaths.cmd" Del "%TEMP%\getpaths.cmd" >Nul: 2>&1 REM ¾Æ·¡ °ªÀÌ ¸ÂÀ¸¸é ¼º°øÀûÀ¸·Î ½ÇÇàµÇ¾ú½À´Ï´Ù. REM COMMON_START_MENU = %COMMON_START_MENU% REM COMMON_STARTUP = %COMMON_STARTUP% REM COMMON_PROGRAMS = %COMMON_PROGRAMS% REM USER_START_MENU = %USER_START_MENU% REM USER_STARTUP = %USER_STARTUP% REM USER_PROGRAMS = %USER_PROGRAMS% REM MY_DOCUMENTS = %MY_DOCUMENTS% REM TEMPLATES = %TEMPLATES% REM APP_DATA= %APP_DATA% Set _SetPaths=SUCCEED Goto Done :Failure Echo. Echo °ø¿ë ¶Ç´Â »ç¿ëÀÚ °æ·Î¿¡ ´ëÇÑ Äõ¸®°¡ Çϳª ÀÌ»ó ½ÇÆÐÇß½À´Ï´Ù! Echo ÀÌ ½ºÅ©¸³Æ®¿¡ ÀÇÁ¸ÇÏ´Â ÀÀ¿ë ÇÁ·Î±×·¥ÀÌ ¼º°øÀûÀ¸·Î ¼³Ä¡µÇÁö ¾ÊÀ» ¼ö ÀÖ½À´Ï´Ù. Echo ¹®Á¦¸¦ ÇØ°áÇÏ°í ´Ù½Ã ½ÃµµÇϽʽÿÀ. Echo. Set _SetPaths=FAIL REM ÀϽà ÁßÁö Goto Done :Done