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

  1. // PartitionMagic Script File
  2.  
  3. // This script file is an example of creating an extended partition
  4.  
  5. // Scenario:
  6. // A 1.2 GB disk is entirely allocated to a primary C: partition, containing
  7. // 300 MB of data.
  8. //
  9. // The user wishes to change the size of the C: partition to 450 MB and create
  10. // logical partitions D: and E:. The D: partition is to be 300 MB with the E: 
  11. // partition filling the rest of the disk.
  12.  
  13. // Check the C: partition for errors before making any changes
  14. Select Partition C
  15. Check
  16.  
  17. // Resize the partition to be 450 MB
  18. Resize 450
  19.  
  20. // Select the unallocated space and create an extended partition
  21. Select Unallocated After Selected Partition
  22. Create /FS=Extended
  23.  
  24. // Select the unallocated space within the extended partition and create
  25. // logical partitions
  26. Select Unallocated Next
  27. Create /FS=FAT /Label="Files" /Size=300
  28. Select Unallocated After Selected Partition
  29. Create /FS=Fat /Label="Apps"
  30.