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 ���̃X�N���v�g�́ADr. Watson �̃C���X�g�[�����X�V���āA���O �t�@�C����
  4. Rem �p�X�ƃN���b�V�� �_���v �t�@�C�������[�U�[�̃z�[�� �f�B���N�g���ɒu��
  5. Rem �����悤�ύX���܂��B
  6. Rem
  7. Rem DRWTSN32 �A�v���P�[�V���������s���Ă������̏ꏊ���ύX���邱�Ƃ�
  8. Rem �ł��܂��B
  9. Rem
  10. Rem #########################################################################
  11. Rem
  12. Rem �‹��ϐ� %RootDrive% �����̃X�N���v�g�p�ɐݒ肳���Ă��邩�ǂ����m�F���܂��B
  13. Rem
  14. Call "%SystemRoot%\Application Compatibility Scripts\ChkRoot.Cmd"
  15. If "%_CHKROOT%" == "FAIL" Goto Done
  16. Rem #########################################################################
  17. Rem ���݁A�C���X�g�[�� ���[�h�łȂ��ꍇ�A�C���X�g�[�� ���[�h�ɕύX���܂��B
  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 ���̃��[�h�����s���[�h�������ꍇ�A���s���[�h�ɖ߂��܂��B
  27. If "%__OrigMode%" == "Exec" Change User /Execute > Nul:
  28. Set __OrigMode=
  29. Echo Dr. Watson �̃}���`���[�U�[ �A�v���P�[�V�����‹��ݒ肪�������܂����B
  30. Pause
  31. :Done