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

51 lines
998 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><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Բ<EFBFBD><D4B2><EFBFBD>Ҫ RootDrive <20><><EFBFBD><EFBFBD>Щ<EFBFBD>ű<EFBFBD><C5B1>ġ<EFBFBD>
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><><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><C3BB><EFBFBD><EFBFBD><EFBFBD>Ŀ¼<C4BF><C2BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>š<EFBFBD><C5A1><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><C3BB>
Rem <20><><EFBFBD>ã<EFBFBD><C3A3><EFBFBD><EFBFBD>˳<EFBFBD><CBB3><EFBFBD>
Rem
Cd /d %SystemRoot%\"Application Compatibility Scripts"
Call RootDrv.Cmd
If "A%RootDrive%A" == "AA" End.Cmd
Rem
Rem <20><><EFBFBD>û<EFBFBD><C3BB><EFBFBD><EFBFBD><EFBFBD>Ŀ¼ӳ<C2BC><EFBFBD><E4B5BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
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><><EFBFBD><EFBFBD>ÿ<EFBFBD><C3BF>Ӧ<EFBFBD>ó<EFBFBD><C3B3><EFBFBD><EFBFBD>ű<EFBFBD><C5B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>а<EFBFBD>װ<EFBFBD>ű<EFBFBD>ʱ<EFBFBD><CAB1>
Rem Ӧ<>ó<EFBFBD><C3B3><EFBFBD><EFBFBD>ű<EFBFBD><C5B1><EFBFBD><EFBFBD>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD>ӵ<EFBFBD> UsrLogn2.Cmd<6D><64>
Rem
If Not Exist %SystemRoot%\System32\UsrLogn2.Cmd Goto Cont1
Cd Logon
Call %SystemRoot%\System32\UsrLogn2.Cmd
:Cont1
:Done