Delete partition table from disk 2

How to use TestDisk to recover lost partition
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
snapo
Posts: 1
Joined: 07 Mar 2014, 09:12

Delete partition table from disk 2

#1 Post 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

Locked