home *** CD-ROM | disk | FTP | other *** search
/ PC World Plus! (NZ) 2001 September / PCW0901.iso / Utilitiy / PartitionMagic / PartitionMagic6PRODEMO.ZIP / DOCS / SCRIPTS / Logical.pqs < prev    next >
Text File  |  2000-10-10  |  1KB  |  36 lines

  1. // PartitionMagic Script File
  2.  
  3. // This script file is an example of creating a logical partition using space
  4. // taken from a primary partition
  5.  
  6. // Scenario:
  7. // A disk contains a primary C: partition and logical partitions D: and E:.
  8. //
  9. // The user wishes to take 40 MB of unused space from the C: partition and 
  10. // create a logical partition with "Data" as its label.
  11.  
  12. // Check the partitions for errors before making any changes
  13. Select Partition C
  14. Check
  15. Select Partition D
  16. Check
  17. Select Partition E
  18. Check
  19.  
  20. // Resize the C: partition to be 40 MB smaller
  21. Select Partition C
  22. Resize Smaller 40
  23.  
  24. // Select the extended partition and move it to fill the unallocated space
  25. Select Partition Extended
  26. Resize Left Boundary Max
  27.  
  28. // Move the D: and E: partitions to the beginning of the extended partition
  29. Select Partition D
  30. Move Left Max
  31. Select Partition E
  32. Move Left Max
  33.  
  34. // Create the new partition at the end of the extended partition
  35. Select Unallocated After Selected Partition
  36. Create /FS=FAT /Label="Data"