Jump to content

Automatic Partitioning for unattended installs


Recommended Posts

:size

set cpartsize=

set /p cpartsize=Type a size for the C: Partition in gigabytes. (Press C to cancel)

if '%cpartsize%'=='c' goto cancel

@echo create partition primary size=%cpartsize%000>z:\disk0_2.txt

copy x:\disk0_1.txt+z:\disk0_2.txt+x:\disk0_3.txt z:\disk0.txt >nul

diskpart /s z:\disk0.txt

goto install

So z is RAMDrive?

What's in disk0_1.txt and disk0_3.txt?

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...