Leaked source code of windows server 2003
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.

50 lines
1.2 KiB

  1. @Echo Off
  2. Call "%SystemRoot%\Application Compatibility Scripts\SetPaths.Cmd"
  3. If "%_SETPATHS%" == "FAIL" Goto Done
  4. Rem
  5. Rem ������ RootDrive ���K�v�Ƃ��Ȃ��X�N���v�g�p�ł��B
  6. Rem
  7. If Not Exist "%SystemRoot%\System32\Usrlogn1.cmd" Goto cont0
  8. Cd /d "%SystemRoot%\Application Compatibility Scripts\Logon"
  9. Call "%SystemRoot%\System32\Usrlogn1.cmd"
  10. :cont0
  11. Rem
  12. Rem ���[�U�[�̃z�[�� �f�B���N�g�������߂܂��B�ݒ肳���Ă��Ȃ��ꍇ�A
  13. Rem �I�����܂��B
  14. Rem
  15. Cd /d %SystemRoot%\"Application Compatibility Scripts"
  16. Call RootDrv.Cmd
  17. If "A%RootDrive%A" == "AA" End.Cmd
  18. Rem
  19. Rem ���[�U�[�̃z�[�� �f�B���N�g�����h���C�u�����Ƀ}�b�v���܂��B
  20. Rem
  21. Net Use %RootDrive% /D >NUL: 2>&1
  22. Subst %RootDrive% "%HomeDrive%%HomePath%"
  23. if ERRORLEVEL 1 goto SubstErr
  24. goto AfterSubst
  25. :SubstErr
  26. Subst %RootDrive% /d >NUL: 2>&1
  27. Subst %RootDrive% "%HomeDrive%%HomePath%"
  28. :AfterSubst
  29. Rem
  30. Rem ���ꂼ���̃A�v���P�[�V���� �X�N���v�g�����s���܂��B�A�v���P�[�V���� �X�N���v�g�̓C���X�g�[�� �X�N���v�g�����s���ꂽ���ɁA
  31. Rem �����I�� UsrLogn2.Cmd �ɒlj������܂��B
  32. Rem
  33. If Not Exist %SystemRoot%\System32\UsrLogn2.Cmd Goto Cont1
  34. Cd Logon
  35. Call %SystemRoot%\System32\UsrLogn2.Cmd
  36. :Cont1
  37. :Done