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 >
Text File  |  2000-10-10  |  1KB  |  49 lines

  1. // PartitionMagic Script File
  2.  
  3. // This script file is an example of converting a partition to a different
  4. // file system type.
  5.  
  6. // Scenario:
  7. // A disk contains a primary C: partition 100 MB in size. Next is a hidden
  8. // primary FAT partition labeled "WIN NT" which is 200 MB in size. The rest
  9. // of the disk is an extended partition which contains two logical partitions,
  10. // D: and E:.
  11. //
  12. // The user wishes to convert the hidden partition from FAT to NTFS and reduce 
  13. // both the C: partition and the hidden partition by 40 MB. The user would 
  14. // like to add 40 MB to the D: partition and use the remaining 40 MB to create
  15. // a logical NTFS partition at the end of the extended partition.
  16.  
  17. // Check the partitions for errors before making any changes
  18. Select Partition C
  19. Check
  20. Select Partition D
  21. Check
  22. Select Partition E
  23. Check
  24.  
  25. // Resize the C: partition to be 40 MB smaller
  26. Select Partition C
  27. Resize Smaller 40
  28.  
  29. // Resize the hidden partition to be 40 MB smaller, move it next to the C:
  30. // partition and convert it to NTFS
  31. Select Partition "WIN NT"
  32. Move Left Max
  33. Resize 160
  34. Convert to NTFS
  35.  
  36. // Select the extended partition and move it to fill the unallocated space
  37. Select Partition Extended
  38. Resize Left Boundary Max
  39.  
  40. // Move the D: partition and make it 40 MB larger
  41. Select Partition D
  42. Move Left Max
  43. Resize Larger 40
  44.  
  45. // Move the E: partition and create the new NFTS partition
  46. Select Partition E
  47. Move Left Max
  48. Select Unallocated Last
  49. Create /FS=NTFS