Source code of Windows XP (NT5)
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
@Echo Off
Call "%SystemRoot%\Application Compatibility Scripts\SetPaths.Cmd" If "%_SETPATHS%" == "FAIL" Goto Done
Rem Rem �������Բ���Ҫ RootDrive ����Щ�ű��ġ� 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 �����û�����Ŀ¼�������š�����û�� Rem ���ã����˳��� Rem
Cd /d %SystemRoot%\"Application Compatibility Scripts" Call RootDrv.Cmd If "A%RootDrive%A" == "AA" End.Cmd
Rem Rem ���û�����Ŀ¼ӳ�䵽�������� 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 ����ÿ��Ӧ�ó����ű������а�װ�ű�ʱ�� Rem Ӧ�ó����ű����Զ����ӵ� UsrLogn2.Cmd�� Rem
If Not Exist %SystemRoot%\System32\UsrLogn2.Cmd Goto Cont1
Cd Logon Call %SystemRoot%\System32\UsrLogn2.Cmd
:Cont1
:Done
|