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.

69 lines
1.8 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 �� ���� ���α׷� ȣȯ ��ũ��Ʈ�� �����ϱ� ����, >> RootDrv2.Cmd
  7. Echo Rem ���� �͹̳� ������ �����ǰ� ���� �ʴ� �����̺� ���ڸ� �����Ͽ� �� �������� >> RootDrv2.Cmd
  8. Echo Rem Ȩ �����͸��� �����ؾ� �մϴ�. >> RootDrv2.Cmd
  9. Echo Rem ���ϴ� �����̺� ���ڸ� �����Ϸ��� "Set RootDrive" ���� �� ���� >> RootDrv2.Cmd
  10. Echo Rem ������Ʈ�Ͻʽÿ�. ��ȣ�ϴ� ���ڰ� ������ >> RootDrv2.Cmd
  11. Echo Rem W: �����̺긦 �����մϴ�. ���� ����: >> RootDrv2.Cmd
  12. Echo REM >> RootDrv2.Cmd
  13. Echo REM Set RootDrive=W: >> RootDrv2.Cmd
  14. Echo REM >> RootDrv2.Cmd
  15. Echo Rem ����: �����̺� ���ڿ� �ݷ� ���̿� �� ĭ�� ������ Ȯ���Ͻʽÿ�. >> RootDrv2.Cmd
  16. Echo REM >> RootDrv2.Cmd
  17. Echo Rem �� �۾��� �Ϸ�������, �� ������ �����ϰ� >> RootDrv2.Cmd
  18. Echo Rem NotePad�� ������ �����ؼ� ���� ���α׷� ȣȯ ��ũ��Ʈ�� �����Ͻʽÿ�. >> 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 �� ���� ���α׷� ȣȯ ��ũ��Ʈ�� �����ϱ� ����,
  28. Echo �� �������� Ȩ �����͸��� ������ �����̺� ���ڸ�
  29. Echo �����Ͻʽÿ�.
  30. Echo.
  31. Echo ��ũ��Ʈ�� �����߽��ϴ�.
  32. Echo.
  33. Pause
  34. Set _CHKROOT=FAIL
  35. Goto Cont3
  36. :Cont1
  37. Rem
  38. Rem ������ �α׿� ��ũ��Ʈ�� ȣ���Ͽ� ��Ʈ �����̺긦 �����մϴ�. ����
  39. Rem ��ġ ���� ���α׷��� ������ �� �ֽ��ϴ�.
  40. Rem
  41. Call "%SystemRoot%\System32\UsrLogon.Cmd
  42. :Cont2
  43. Rem ������Ʈ���� RootDrive Ű�� �����մϴ�.
  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"