close

The recent a customer asked me a question

A: if I format you system or install linux , can you recovery to original ?

B : YES

Because the relationship between these words, I creat a shell script , it ok(for win7)

P.S need winPE

diskpart命令如下

select disk 0
clean

CREATE PARTITION Primary Size=100
CREATE PARTITION Primary

select partition 1
format fs=ntfs label="system"
assign letter=s
active
select partition 2
format fs=ntfs label="Windows" quick
assign letter=b
exit

 

diskpark

http://technet.microsoft.com/en-us/library/hh825686.aspx

 

arrow
arrow

    ooieueioo 發表在 痞客邦 留言(0) 人氣()