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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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