To create a partition
At a command prompt, type: Diskpart.exe
At the DISKPART prompt, type: LIST DISK (Lists disks found. Make note of the drive number you wish to manipulate.)
At the DISKPART prompt, type: Select Disk 1 (This selects the disk; make sure to type in the disk number from step 2.)
At the DISKPART prompt, type: CREATE PARTITION PRIMARY SIZE=10000
(Change the word PRIMARY to EXTENDED to create an extended partition.) (If you do not set a size (in MB), such as the above example for 10 GB, then all available space on the disk will be used for the partition.) (Seriously consider adding the following option to the end of the above command if you are using RAID (especially RAID 5) to improve disk I/O performance: ALIGN=64)
At the DISKPART prompt, type: ASSIGN LETTER=D (Choose a drive letter not already being used.)
At the DISKPART prompt, type: Exit
Use the Command Prompt format command, Disk Administrator or any disk format utility to format the drive (typically using NTFS, of course).
Extend a partition in Windows with Diskpart. When it comes to adding space to a partition or volume, this method is superior to configuring Dynamic Disks. Dynamic Disk extensions only concatenate the newly added space, menaing they merely add the disk space to the "end" of the original partition without restriping the data.
Concatenation isolates performance within each partition and does not offer fault tolerance when the partition is configured in a RAID array. Diskpart allows you to restripe your existing data. This is truly beneficial when the partition is set up in a RAID array, because the existing partition data is spread out across all the drives in the array, rather than just adding new space to the end (like Disk Administrator).
To extend a partition:
Verify that contiguous free space is available on the same drive and that free space is next to the partition you intend on extending (with no partitions in between).
At a command prompt, type: Diskpart.exe
At the DISKPART prompt, type: Select Disk 1 (Selects the disk.)
At the DISKPART prompt, type: Select Volume 1 (Selects the volume.)
At the DISKPART prompt, type: Extend Size=10000 (If you do not set a size, such as the above example for 10 GB, then all available space on the disk will be used.)
At the DISKPART prompt, type: Exit
To delete a partition in Windows with Diskpart: (Note: You cannot delete an active system or boot partition or a partition with an active page file.)
At a command prompt, type: Diskpart.exe
At the DISKPART prompt, type: Select Disk 1
At the DISKPART prompt, type: Select Partition 1
At the DISKPART prompt, type: DELETE partition
At the DISKPART prompt, type: Exit
To wiping (or zero) a disk:
This operation deletes all data on the disk
At a command prompt, type: Diskpart.exe
At the DISKPART prompt, type: Select Disk 1
At the DISKPART prompt, type: CLEAN ALL (The CLEAN ALL command removes all partition and volume information from the hard drive being focused on.)
At the DISKPART prompt, type: Exit
Final note: Here are four important things to keep in mind regarding Diskpart.
Do not use DISKPART until you have fully backed up the hard disk you are manipulating
Do not use DISKPART on dynamic disks
Check with your disk vendor before using Diskpart
But still didn't get the commands for how to resize your drive can anybody help me with resize commands?surely somebody can understand this cmd language and can create commands from above for resize!!
WHO CAN?