Diskpart Windows Command-Line Utility | Search for a title, author or keyword | ||||||||
Diskpart Windows Command-Line Utility The Windows Disk Management utility is not your only choice when it comes to repartitioning drives, but as far as the tools included with Windows XP are concerned, it's the best one. One alternative is the DiskPart utility ( diskpart.exe ), a way of viewing, adding, and removing partitions from the command prompt. DiskPart is essentially the command-line equivalent to the Disk Management tool, although it has a few extra features. The biggest advantage to DiskPart is that it can also be run from the Windows Recovery Console. This allows you to modify your boot and system partitions, as well as work on your partition table when Windows XP won't start. Another advantage to DiskPart: DiskPart is a way to resize a partition. You may encounter a situation when you need to resize a partition, either to consume the space left over from another deleted partition, or to make a partition smaller to make room for a new one. Now, the simplest way to resize a partition is to delete it and then create a new one. Unfortunately, this has the rather undesirable side-effect of completely erasing any data stored on the volume. For some reason, the "extend" feature is not available in the Disk Management tool, which is why we must use the other disk partitioning tool included with Windows XP, DiskPart. Use the EXTEND command to incorporate unallocated space into an existing volume while preserving the data. Use the SHRINK command ( Windows 7/2008 version of Diskpart ) to reduce the size of the in-focus volume while preserving the data. The volume must be formatted with the NTFS file system. Only the extension of data volumes is supported. System or boot volumes may be blocked from being extended. You cannot extend the partition if the system page file is located on the partition. Move the page file to a partition that you do not want to extend.
|
|||||||||
Diskpart Windows Command-Line Utility | Disclaimer: this link points to content provided by other sites. |