61 lines
2.4 KiB
Batchfile
61 lines
2.4 KiB
Batchfile
|
REM ###############################################################
|
|||
|
REM # #
|
|||
|
REM # SetPaths #
|
|||
|
REM # #
|
|||
|
REM # <20><><EFBFBD><EFBFBD> <20><><EFBFBD>θ<EFBFBD> ȯ<><C8AF> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>Ͽ<EFBFBD> #
|
|||
|
REM # <20>ϵ<EFBFBD><CFB5>ڵ<EFBFBD><DAB5><EFBFBD> <20>ý<EFBFBD><C3BD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD>ڿ<EFBFBD><DABF><EFBFBD> <20><><EFBFBD><EFBFBD> <20><>ũ<EFBFBD><C5A9>Ʈ<EFBFBD><C6AE> <20><><EFBFBD><EFBFBD><EFBFBD>ǵ<EFBFBD><C7B5><EFBFBD> #
|
|||
|
REM # <20>մϴ<D5B4>. <20>̰<EFBFBD><CCB0><EFBFBD> <20><>ũ<EFBFBD><C5A9>Ʈ<EFBFBD><C6AE> <20>ý<EFBFBD><C3BD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> #
|
|||
|
REM # <20><><EFBFBD><EFBFBD><EFBFBD>ǰ<EFBFBD> <20>մϴ<D5B4>. #
|
|||
|
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 # ȯ<><C8AF> <20><><EFBFBD><EFBFBD> <20><><EFBFBD>θ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ϴµ<CFB4> GETPATHS <20>ɼ<EFBFBD><C9BC><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>մϴ<D5B4>.
|
|||
|
REM ###############################################################
|
|||
|
"%systemroot%\Application Compatibility Scripts\ACRegL.exe" "%TEMP%\getpaths.cmd" COMMON_PATHS "HKLM\Software" "" GETPATHS
|
|||
|
|
|||
|
If Not ErrorLevel 1 Goto Cont1
|
|||
|
Echo.
|
|||
|
Echo <20><><EFBFBD><EFBFBD> <20>Ǵ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>θ<EFBFBD> <20>˻<EFBFBD><CBBB><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD>.
|
|||
|
Echo.
|
|||
|
Goto Failure
|
|||
|
|
|||
|
:Cont1
|
|||
|
Call "%TEMP%\getpaths.cmd"
|
|||
|
Del "%TEMP%\getpaths.cmd" >Nul: 2>&1
|
|||
|
|
|||
|
REM <20>Ʒ<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>Ǿ<EFBFBD><C7BE><EFBFBD><EFBFBD>ϴ<EFBFBD>.
|
|||
|
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 <20><><EFBFBD><EFBFBD> <20>Ǵ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>ο<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ϳ<EFBFBD> <20>̻<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>߽<EFBFBD><DFBD>ϴ<EFBFBD>!
|
|||
|
Echo <20><> <20><>ũ<EFBFBD><C5A9>Ʈ<EFBFBD><C6AE> <20><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD>α<CEB1><D7B7><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>ġ<EFBFBD><C4A1><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20>ֽ<EFBFBD><D6BD>ϴ<EFBFBD>.
|
|||
|
Echo <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ذ<EFBFBD><D8B0>ϰ<EFBFBD> <20>ٽ<EFBFBD> <20>õ<EFBFBD><C3B5>Ͻʽÿ<CABD>.
|
|||
|
Echo.
|
|||
|
Set _SetPaths=FAIL
|
|||
|
REM <20>Ͻ<EFBFBD> <20><><EFBFBD><EFBFBD>
|
|||
|
Goto Done
|
|||
|
|
|||
|
:Done
|