Page 1 of 1

Delete partition table from disk 2

Posted: 07 Mar 2014, 09:19
by snapo
Hey guys...
I am using testdisk very often to delete the partition table on my second disk to test my own software. it works very well but i would like to do in by the commandline itself, without the menu.

At the moment i am doing this:
1. start application
2. chose no log
3. chose DISK \\.\PhysicalDrive2
4. chose Intel
5. Delete
6. confirm twice with y
7. quit

Is the no way to do for example:
testdisk.exe --delpt="\\.\PhysicalDrive2" --force --no-output

Thanks for a answer. Otherwise i can not automate the test with eggplant, and diskpart is not letting me delete partition from a live disk.
So this would be very helpful to not use the menu on every build.

Best regards
snapo