WinXP: Self-repair fault

  

1. Use the Recovery Console

After selecting "Microsoft Windows Recovery Console" (that is, the Recovery Console) when the computer starts, enter the management when prompted. Administrator password. Then at the system prompt, type the "Recovery Console" command. Enter "help" to get a list of command names. Enter "help command name" to get help for the specified command.

In the faulty console, we can use Attrib, Batch, Bootcfg, ChDir (CD), Chkdsk, Cls, Copy, Delete (Del), Dir, Disable, Format, Diskpart, Enable, Expand, Fixmbr, Fixboot and other commands to fix various problems that occur on the computer.

2. Introduction to Practical Commands

Obviously, many commands in the Recovery Console are familiar to us and will not be described here. The following are some of the commands that ordinary users usually do not use often. With them, we can easily complete many system maintenance tasks. In this issue of "Old Tree New Flower DOS3", the Expand and Rmdir commands that can be used in the Recovery Console are described.

1Diskpart

Role: Create and delete partitions on your hard drive.

Syntax: Diskpart [/add /delete] [device_name drive_name partition_name] [size]

Parameters: If you do not take any parameters, the Windows character mode version of Diskpart will be started.

/add - create a new partition;

/delete - delete the existing partition;

drive_name - the partition to be deleted represented by the drive letter, only with "/delete" is used at the same time, such as "E:";

partition_name - the partition to be deleted represented by the partition name can be used instead of "drive_name" (used only with "/delete"); Br>

size—The size of the partition to be created, expressed in megabytes (MB), used only with "/add".

Instance:

Delete F partition - diskpart /delete F:

Create a 200MB partition - diskpart /add DeviceHardDisk0 200

Copyright © Windows knowledge All Rights Reserved