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

51 lines
1,012 B
Batchfile
Raw Normal View History

2020-09-26 03:20:57 -05:00
@Echo Off
Call "%SystemRoot%\Application Compatibility Scripts\SetPaths.Cmd"
If "%_SETPATHS%" == "FAIL" Goto Done
Rem
Rem <20>o<EFBFBD>O<EFBFBD><4F><EFBFBD><EFBFBD><EFBFBD>ݭn RootDrive <20><><EFBFBD><EFBFBD><EFBFBD>O<EFBFBD>ɨϥΡC
Rem
If Not Exist "%SystemRoot%\System32\Usrlogn1.cmd" Goto cont0
Cd /d "%SystemRoot%\Application Compatibility Scripts\Logon"
Call "%SystemRoot%\System32\Usrlogn1.cmd"
:cont0
Rem
Rem <20>M<EFBFBD>w<EFBFBD>ϥΪ̥D<CCA5>ؿ<EFBFBD><D8BF>Ϻо<CFBA><D0BE>N<EFBFBD><4E><EFBFBD>A<EFBFBD>p<EFBFBD>G
Rem <20>S<EFBFBD><53><EFBFBD>]<5D>w<EFBFBD>N<EFBFBD><4E><EFBFBD>N<EFBFBD><4E><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>O<EFBFBD>C
Rem
Cd /d %SystemRoot%\"Application Compatibility Scripts"
Call RootDrv.Cmd
If "A%RootDrive%A" == "AA" End.Cmd
Rem
Rem <20>N<EFBFBD>ϥΪ̪<CEAA><CCAA>D<EFBFBD>ؿ<EFBFBD><D8BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϻо<CFBA><D0BE>N<EFBFBD><4E>
Rem
Net Use %RootDrive% /D >NUL: 2>&1
Subst %RootDrive% "%HomeDrive%%HomePath%"
if ERRORLEVEL 1 goto SubstErr
goto AfterSubst
:SubstErr
Subst %RootDrive% /d >NUL: 2>&1
Subst %RootDrive% "%HomeDrive%%HomePath%"
:AfterSubst
Rem
Rem <20>I<EFBFBD>s<EFBFBD>C<EFBFBD><43><EFBFBD><EFBFBD><EFBFBD>ε{<7B><><EFBFBD><EFBFBD><EFBFBD>O<EFBFBD>ɡC<C9A1><43><EFBFBD>w<EFBFBD>˫<EFBFBD><CBAB>O<EFBFBD>ɰ<EFBFBD><C9B0><EFBFBD><EFBFBD><EFBFBD>
Rem <20><><EFBFBD>ε{<7B><><EFBFBD><EFBFBD><EFBFBD>O<EFBFBD>ɷ|<7C>۰ʥ[<5B>J UsrLogn2.Cmd<6D>C
Rem
If Not Exist %SystemRoot%\System32\UsrLogn2.Cmd Goto Cont1
Cd Logon
Call %SystemRoot%\System32\UsrLogn2.Cmd
:Cont1
:Done