Delete partition table from disk 2

How to use TestDisk to recover lost partition
Post Reply
Message
Author
snapo
Posts: 1
Joined: 07 Mar 2014, 09:12

Delete partition table from disk 2

#1 Post by snapo » 07 Mar 2014, 09:19

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

Sponsored links

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest