The problem of the landlord can be solved with this Script file:
// Select the first hard disk
Select Disk 1
// Select the last partition
Select Partition Last
// Change the size of the last partition, leaving 1024MB of space behind it
Resize Space After 1024
// Select the last unallocated space (the one just left)
Select Unallocated After Selected Partition
// Create a partition
Create /FS=FAT32 /LABEL="SYS_GHOST"
// Convert this partition to a primary partition
Of course, the standard practice should also add detection commands, such as detecting whether there is enough remaining space on the hard disk, detecting the current number of primary partitions, etc., and gradually improve it. The above Script assumes that the last partition of your hard disk has enough space and the number of primary partitions has not reached three, and then uses the remaining space of the last partition to create a 1G primary partition at the end of the hard disk.
偶只喜欢回答那些标题和描述都很清晰的帖子!
如想解决问题,请认真学习“
这个帖子”和“
这个帖子”并努力遵守,如果可能,请告诉更多的人!