Search

Friday, October 14, 2011

Expand A Volume with Diskpart command

C:\Documents and Settings\Dev>diskpart

Microsoft DiskPart version 5.2.3790.3959
Copyright (C) 1999-2001 Microsoft Corporation
On computer: SERVER1
DISKPART> list volumes
Microsoft DiskPart version 5.2.3790.3959
DISK - Prints out a list of disks.
PARTITION - Prints out a list of partitions on the current disk.
VOLUME - Prints out a list volumes.

DISKPART>list volume

Volume ### Ltr Label Fs Type Size Status Info

---------- --- ----------- ----- ---------- ------- --------- --------

Volume 0 D Data NTFS Partition 40 GB Healthy

Volume 1 C System NTFS Partition 10 GB Healthy System
Volume 2 E DVD-ROM 0 B Healthy

DISKPART> select volume 0
Volume 0 is the selected volume.

DISKPART>extend
DiskPart successfully extended the volume.

DISKPART>

No comments:

Post a Comment