
// PartitionMagic Script File

// This script file is an example of using the Resize script command

// Scenario:
// Primary partitions D: and E: exist next to each other on a disk.
// There is no unallocated space before or after the E: partition.
//
// The user wishes to take 10 MB from D: and add it to E:.

// Check the partitions for errors before making any changes
Select Partition D
Check
Select Partition E
Check

// Select the first partition and make it 10 MB smaller
Select Partition D
Resize Smaller 10

// Select the second partition and move and resize it to be 10 MB larger
Select Partition E
Move Left Max
Resize Larger Max