generally speaking you can't change a partition if it's the one you're booting from. If I needed to do it right now....I'd use Acronis DIsk Director. You usually get the SW, load the program and create a bootable CD that allows you to modify the primary bootable partition and the other partitions, if any.
Question is....why do you want to do this ?
Before going further....have you backed up your data ?
VAPCMD
I've been working with gaining space on my hard drive, I had 3 partitions:
Primary (220 GB)
Backup (around 8 GB)
Empty (1 GB or something)
Now, I've deleted the empty one and shrunk the backup one (It was Vista and I have 7 now), but I can't extend the primary partition in to the unallocated space. the problem might be that the backup partition is "in between" the primary and unallocated areas. Is there a way I can fix this? By the way, I already know about the diskmgmt thing, that's what I've been using. Feel free to ask for clarification.
Thank's for your support,
Deven
P.S. Can I upload pictures to this, or is that not allowed?

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic