windows-nt/Source/XPSP1/NT/termsrv/admtools/appcmpt/jpn/setpaths.cmd

61 lines
2.4 KiB
Batchfile
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
REM ###############################################################
REM # #
REM # SetPaths #
REM # #
REM # <20><><EFBFBD>̃p<CC83>X<EFBFBD><58><EFBFBD>‹<EFBFBD><C28B>ϐ<EFBFBD><CF90>ɓW<C993>J<EFBFBD><4A><EFBFBD>āA<C481>n<EFBFBD>[<5B>h <20>R<EFBFBD>[<5B>h<EFBFBD><68><EFBFBD><EFBFBD>V<EFBFBD>X<EFBFBD>e<EFBFBD><65> #
REM # <20>p<EFBFBD>X<EFBFBD>̕<EFBFBD><CC95><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>g<EFBFBD><EFBFBD>ɃX<C983>N<EFBFBD><4E><EFBFBD>v<EFBFBD>g<EFBFBD><67><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD>ł<EFBFBD><C582><EFBFBD><EFBFBD><EFBFBD>ɂ<EFBFBD><C982>܂<EFBFBD><DC82>B #
REM # <20><><EFBFBD><EFBFBD><EFBFBD>ɂ<EFBFBD><C982><EFBFBD><EFBFBD>V<EFBFBD>X<EFBFBD>e<EFBFBD><65><EFBFBD>̌<EFBFBD><CC8C><EFBFBD><EFBFBD>Ɉˑ<C988><CB91><EFBFBD><EFBFBD><EFBFBD>ƂȂ<C682><C882>X<EFBFBD>N<EFBFBD><4E><EFBFBD>v<EFBFBD>g<EFBFBD><67><EFBFBD><EFBFBD><EFBFBD>s #
REM # <20>ł<EFBFBD><C582><EFBFBD><EFBFBD><EFBFBD>ɂȂ<C982><C882>܂<EFBFBD><DC82>B #
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 <20>I<EFBFBD>v<EFBFBD>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>g<EFBFBD><67><EFBFBD>āA<C481><41><EFBFBD>ׂĂ̊‹<CC8A><C28B>ϐ<EFBFBD><CF90><EFBFBD><EFBFBD>ݒ肵<DD92>܂<EFBFBD><DC82>B
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>ʃp<CA83>X<EFBFBD>܂<EFBFBD><DC82>̓<EFBFBD><CD83>[<5B>U<EFBFBD>[<5B>p<EFBFBD>X<EFBFBD><58><EFBFBD><EFBFBD>ł<EFBFBD><C582>܂<EFBFBD><DC82><EFBFBD><EFBFBD>B
Echo.
Goto Failure
:Cont1
Call "%TEMP%\getpaths.cmd"
Del "%TEMP%\getpaths.cmd" >Nul: 2>&1
REM <20>ȉ<EFBFBD><C889>̒l<CC92><6C><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>΁A<CE81><41><EFBFBD>s<EFBFBD>͐<EFBFBD><CD90><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƂɂȂ<C982><C882>܂<EFBFBD><DC82>B
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 1 <20>ˆȏ<C288><C88F>̋<EFBFBD><CC8B>ʃp<CA83>X<EFBFBD>܂<EFBFBD><DC82>̓<EFBFBD><CD83>[<5B>U<EFBFBD>[ <20>p<EFBFBD>X<EFBFBD>̃N<CC83>G<EFBFBD><47><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>s<EFBFBD><73><EFBFBD>܂<EFBFBD><DC82><EFBFBD><EFBFBD>B
Echo <20><><EFBFBD>̃X<CC83>N<EFBFBD><4E><EFBFBD>v<EFBFBD>g<EFBFBD>Ɉˑ<C988><CB91><EFBFBD><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD>A<EFBFBD>v<EFBFBD><76><EFBFBD>P<EFBFBD>[<5B>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD>͐<EFBFBD><CD90><EFBFBD><EFBFBD><EFBFBD><EFBFBD>C<EFBFBD><43><EFBFBD>X<EFBFBD>g<EFBFBD>[<5B><>
Echo <20><><EFBFBD><EFBFBD><EFBFBD>Ȃ<EFBFBD><C882><EFBFBD><EA8D87><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B<EFBFBD><42><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD>Ď<EFBFBD><C48E>s<EFBFBD><73><EFBFBD>Ă<EFBFBD><C482><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>B
Echo.
Set _SetPaths=FAIL
REM Pause
Goto Done
:Done