diskpart 分区,挂载,和移除

list disk
select disk 1
clean
Create partition primary size=102400
active
format quick
list volume
assign letter=n

create partition extended
create partition logic
format quick
list volume
assign mount="c:\\testMount"
list volume

 

list volume
select volume 5
remove mount=c:\testMount
delete volume
select volume 4
remove letter=n
delete volume

 

转载于:https://www.cnblogs.com/liujx2019/p/10563768.html

你可能感兴趣的:(diskpart 分区,挂载,和移除)