Resizing a partition to fill the drive using PowerQuest

Hi, I have a group of laptops that have an 8gb C drive and the rest of the disk is taken up with a D drive.  What i need to do remotely. is to get rid of the D drive (all data can be destroyed) and then the C drive resized to fill the whole disk.  I have run PQIMGCTR with a text file that has the following details

 

SELECT DRIVE 1
SELECT PARTITION 2
DELETE
RESIZE PARTITION MAX
REBOOT

 

This deleted the D drive partition, but then only resized the C drive to its original 8gb.

 

What do i need to do to get the second partition removed completely and the first partition to fill the drive?