cgsecurity / testdisk

TestDisk & PhotoRec
https://www.cgsecurity.org/
GNU General Public License v2.0
1.58k stars 195 forks source link

Scriptable deletion of MBR partition table #53

Open ThisNameIsNotAllowed opened 6 years ago

ThisNameIsNotAllowed commented 6 years ago

Could you help me with the command to delete mbr partition table via script please.

Trying the following commands did not work for me.

<PATH_TO_TESTDISK> /cmd <DEV_ENUMERATION> delete -> Asks for (Y/N) <PATH_TO_TESTDISK> /cmd <DEV_ENUMERATION> noconfirm,delete -> Does not ask, but is not working

As a reference I used your pdf document: https://www.cgsecurity.org/testdisk.pdf

The OS is Windows 7