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.

69 lines
2.0 KiB

  1. Set _CHKROOT=PASS
  2. Cd "%SystemRoot%\Application Compatibility Scripts"
  3. Call RootDrv.Cmd
  4. If Not "A%ROOTDRIVE%A" == "AA" Goto Cont2
  5. Echo REM > RootDrv2.Cmd
  6. Echo Rem ���̃A�v���P�[�V�����݊����X�N���v�g�����s�����O�ɁA >> RootDrv2.Cmd
  7. Echo Rem �^�[�~�i�� �T�[�r�X�ɂ����Ďg�p�����Ă��Ȃ��A�e���[�U�[�̃z�[�� >> RootDrv2.Cmd
  8. Echo Rem �f�B���N�g���Ƀ}�b�v�����h���C�u���������߂��K�v�������܂��B >> RootDrv2.Cmd
  9. Echo Rem �}�b�v�����h���C�u�����́A���̃t�@�C���̉��̕��ɂ��� >> RootDrv2.Cmd
  10. Echo Rem "Set RootDrive" �Ŏn�܂��X�e�[�g�����g�Ɏw�肵�܂��B >> RootDrv2.Cmd
  11. Echo Rem ���ɍD�݂��Ȃ����� W: �𐄏����܂��B���ɂ��̗��������܂��B >> RootDrv2.Cmd
  12. Echo REM >> RootDrv2.Cmd
  13. Echo REM Set RootDrive=W: >> RootDrv2.Cmd
  14. Echo REM >> RootDrv2.Cmd
  15. Echo Rem ����: �h���C�u�����ƃR�����̌��ɂ̓X�y�[�X�������Ȃ��悤�ɒ��ӂ��Ă��������B >> RootDrv2.Cmd
  16. Echo REM >> RootDrv2.Cmd
  17. Echo Rem ���̍��Ƃ��I���������A���̃t�@�C�����ۑ����ă��������I�����A >> RootDrv2.Cmd
  18. Echo Rem �A�v���P�[�V�����݊����X�N���v�g�̎��s�𑱂��Ă��������B >> RootDrv2.Cmd
  19. Echo REM >> RootDrv2.Cmd
  20. Echo. >> RootDrv2.Cmd
  21. Echo Set RootDrive=>> RootDrv2.Cmd
  22. Echo. >> RootDrv2.Cmd
  23. NotePad RootDrv2.Cmd
  24. Call RootDrv.Cmd
  25. If Not "A%ROOTDRIVE%A" == "AA" Goto Cont1
  26. Echo.
  27. Echo ���̃A�v���P�[�V�����݊����X�N���v�g�����s�����O�ɁA�e���[�U�[
  28. Echo �̃z�[�� �f�B���N�g���Ƀ}�b�v�����h���C�u���������߂��K�v����
  29. Echo ���܂��B
  30. Echo.
  31. Echo �X�N���v�g�͏I�����܂����B
  32. Echo.
  33. Pause
  34. Set _CHKROOT=FAIL
  35. Goto Cont3
  36. :Cont1
  37. Rem
  38. Rem ���������[�U�[ ���O�I�� �X�N���v�g�����s���ă��[�g���}�b�v���āA
  39. Rem �A�v���P�[�V�����̃C���X�g�[���ɔ����Ă��������B
  40. Rem
  41. Call "%SystemRoot%\System32\UsrLogon.Cmd
  42. :Cont2
  43. Rem ���W�X�g���� RootDrive �L�[���ݒ肵�܂��B
  44. echo HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Terminal Server > chkroot.key
  45. echo RootDrive = REG_SZ %ROOTDRIVE%>> chkroot.key
  46. regini chkroot.key > Nul:
  47. :Cont3
  48. Cd "%SystemRoot%\Application Compatibility Scripts\Install"