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.

41 lines
1.1 KiB

  1. @echo off
  2. Rem
  3. Rem �� ��ũ��Ʈ�� Dr. Watson ��ġ�� ������Ʈ�մϴ�.
  4. Rem �̰��� �α� ���� ���� �� �ջ� ���� ������ ������ Ȩ �����͸���
  5. Rem ��ġ��Ű���� �����մϴ�.
  6. Rem
  7. Rem drwtsn32 ���� ���α׷��� �����Ͽ� �� ��ġ��
  8. Rem ������ ���� �ֽ��ϴ�.
  9. Rem
  10. Rem #########################################################################
  11. Rem
  12. Rem %RootDrive%�� �����Ǿ����� Ȯ���ϰ� �� ��ũ��Ʈ�� ���� �����մϴ�.
  13. Rem
  14. Call "%SystemRoot%\Application Compatibility Scripts\ChkRoot.Cmd"
  15. If "%_CHKROOT%" == "FAIL" Goto Done
  16. Rem #########################################################################
  17. Rem ���� ��ġ ���忡 ���� ������ ��ġ ������ �����մϴ�.
  18. Set __OrigMode=Install
  19. ChgUsr /query > Nul:
  20. if Not ErrorLevel 101 Goto Begin
  21. Set __OrigMode=Exec
  22. Change User /Install > Nul:
  23. :Begin
  24. ..\acsr "#ROOTDRIVE#" "%RootDrive%" Template\DrWatson.Key DrWatson.Key
  25. regini DrWatson.Key > Nul:
  26. Rem ���� ���尡 ���� ���忴����, ���� ������ �ٽ� �����մϴ�.
  27. If "%__OrigMode%" == "Exec" Change User /Execute > Nul:
  28. Set __OrigMode=
  29. Echo Dr. Watson ���� ������ ���� ���α׷� ���� �Ϸ�
  30. Pause
  31. :Done