home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Plus! (NZ) 2001 September
/
PCW0901.iso
/
Utilitiy
/
PartitionMagic
/
PartitionMagic6PRODEMO.ZIP
/
DOCS
/
SCRIPTS
/
Convert.pqs
< prev
next >
Wrap
Text File
|
2000-10-10
|
1KB
|
49 lines
// PartitionMagic Script File
// This script file is an example of converting a partition to a different
// file system type.
// Scenario:
// A disk contains a primary C: partition 100 MB in size. Next is a hidden
// primary FAT partition labeled "WIN NT" which is 200 MB in size. The rest
// of the disk is an extended partition which contains two logical partitions,
// D: and E:.
//
// The user wishes to convert the hidden partition from FAT to NTFS and reduce
// both the C: partition and the hidden partition by 40 MB. The user would
// like to add 40 MB to the D: partition and use the remaining 40 MB to create
// a logical NTFS partition at the end of the extended partition.
// Check the partitions for errors before making any changes
Select Partition C
Check
Select Partition D
Check
Select Partition E
Check
// Resize the C: partition to be 40 MB smaller
Select Partition C
Resize Smaller 40
// Resize the hidden partition to be 40 MB smaller, move it next to the C:
// partition and convert it to NTFS
Select Partition "WIN NT"
Move Left Max
Resize 160
Convert to NTFS
// Select the extended partition and move it to fill the unallocated space
Select Partition Extended
Resize Left Boundary Max
// Move the D: partition and make it 40 MB larger
Select Partition D
Move Left Max
Resize Larger 40
// Move the E: partition and create the new NFTS partition
Select Partition E
Move Left Max
Select Unallocated Last
Create /FS=NTFS