Jump to content

Recommended Posts

Posted
: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?


Posted
So z is RAMDrive?

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

disk0_1

select disk 0
clean

Don't miss the extra carriage return at the end there.

disk0_3

select partition 1
active
assign letter=c
create partition primary

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...