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

61 lines
2.2 KiB
Batchfile
Raw Normal View History

2020-09-26 03:20:57 -05:00
REM ###############################################################
REM # #
REM # SetPaths #
REM # #
REM # <20><><EFBFBD>X<EFBFBD>U<EFBFBD>C<EFBFBD><43><EFBFBD>|<7C>é<EFBFBD><C3A9>J<EFBFBD><4A><EFBFBD><EFBFBD><EFBFBD>ܼƤ<DCBC><C6A4>A #
REM # <20><><EFBFBD><EFBFBD><EFBFBD>O<EFBFBD>ɤ<EFBFBD><C9A4>ݨt<DDA8>θ<EFBFBD><CEB8>|<7C>r<EFBFBD><72><EFBFBD>N<EFBFBD>i<EFBFBD><69><EFBFBD><EFBFBD><EFBFBD>C #
REM # <20>o<EFBFBD><6F><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>O<EFBFBD>ɤ<EFBFBD><C9A4>ݨ̾a<CCBE>t<EFBFBD>λy<CEBB><79><EFBFBD>Ӱ<EFBFBD><D3B0><EFBFBD><EFBFBD>C #
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 # <20>ϥ<EFBFBD> GETPATHS <20><EFBFBD>ӳ]<5D>w<EFBFBD>Ҧ<EFBFBD><D2A6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ܼ<EFBFBD>
REM ###############################################################
"%systemroot%\Application Compatibility Scripts\ACRegL.exe" "%TEMP%\getpaths.cmd" COMMON_PATHS "HKLM\Software" "" GETPATHS
If Not ErrorLevel 1 Goto Cont1
Echo.
Echo <20>L<EFBFBD>k<EFBFBD><6B><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ΩΨϥΪ̸<CEAA><CCB8>|<EFBFBD>C
Echo.
Goto Failure
:Cont1
Call "%TEMP%\getpaths.cmd"
Del "%TEMP%\getpaths.cmd" >Nul: 2>&1
REM <20>p<EFBFBD>G<EFBFBD>U<EFBFBD>C<EFBFBD>ȥ<EFBFBD><C8A5>T<EFBFBD>A<EFBFBD>ާ@<40>|<7C><><EFBFBD>\<5C>C
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>Y<EFBFBD>Ǥ<EFBFBD><C7A4>ΩΨϥΪ̸<CEAA><CCB8>|<EFBFBD><EFBFBD><EFBFBD>d<EFBFBD>ߤw<EFBFBD><EFBFBD><EFBFBD><EFBFBD>!
Echo <20>̿<EFBFBD><CCBF>o<EFBFBD>ӫ<EFBFBD><D3AB>O<EFBFBD>ɨӰ<C9A8><D3B0><EFBFBD><E6AABA><EFBFBD>ε{<7B><><EFBFBD>i<EFBFBD><69><EFBFBD>L<EFBFBD>k<EFBFBD><6B><EFBFBD>\<5C>w<EFBFBD>ˡC
Echo <20>иѨM<D1A8>o<EFBFBD>Ӱ<EFBFBD><D3B0>D<EFBFBD>A<EFBFBD>í<EFBFBD><C3AD>դ@<40><><EFBFBD>C
Echo.
Set _SetPaths=FAIL
REM Pause
Goto Done
:Done