DISKPART script
I would like to use diskpart or another utility to create a dual partition using a percentage of the disk I have instead of a fixed numerical value. I have multiple disk sizes here and would like to use for example 70% as a primary C: and the remaining 30% as D: Currently I am having to write a new script for each type of machine I am imaging.
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
ashmite
16 years ago
I'd attack the problem by creating a control script that determines the size of the attached drive, then calculates the correct percentages and passes them as parameters to the DISKPART command via the SHELL methods in VBScript or Kix.
For me, I'm more about keeping the C: partion a uniform size across our systems.
--Joel
For me, I'm more about keeping the C: partion a uniform size across our systems.
--Joel
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.