Can TestDisk be used to record partition information as text in a text file for future reference (via batch file)?
Like as shown on the screen as current/valid partition information (not looking for damaged/lost partitions).
I tried starting with: testdisk_win /log /logname "C:\testdisk-6.13\dsk0pTable.txt" /dev/sda partition_i386,expert,dump
I get a error: Unable to open file or device partition_i386,expert,dump
If I change the batch (replace the commas with spaces) partition_i386 expert dump
Unable to open file or device partition_i386
Unable to open file or device expert
Unable to open file or device dump
Ideally, I would like to know how to do 2 things: via batch file (multiple disks independently)
#1 Record partition information to a path\file for each disk.
#2 Save/Back-up partition information to a path\file for each disk.
Any help will be appreciated.
I tried using scripted run as a reference, but still having difficulty
I have no problem manually running TestDisk, but I want to run via batch file
How to use TestDisk to recover lost partition
1 post • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest