Page 1 of 1

recording partition information

Posted: 31 Mar 2013, 19:42
by Tracey2031
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
I get:
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.
Thanks, Tracey
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