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.1 KiB

  1. @Echo Off
  2. Call "%SystemRoot%\Application Compatibility Scripts\SetPaths.Cmd"
  3. If "%_SETPATHS%" == "FAIL" Goto Done
  4. Rem
  5. Rem �̰��� RootDrive�� �ʿ����� ��ũ��Ʈ�� ���� ���Դϴ�.
  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 ������ Ȩ �����͸� �����̺� ���ڸ� �����մϴ�. �����Ǿ� ����
  13. Rem ������ �����ϴ�.
  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 ������ Ȩ �����͸��� �����̺� ���ڷ� �����մϴ�.
  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 �� ���� ���α׷� ��ũ��Ʈ�� �ҷ��ɴϴ�. ��ġ ��ũ��Ʈ�� �����Ǹ�
  31. Rem ���� ���α׷� ��ũ��Ʈ�� �ڵ����� UsrLogn2.Cmd�� �߰��˴ϴ�.
  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