The command-line parameters are not
needed when using DiskPatch, but are provided to allow DiskPatch to deal
with certain abnormal situations.
In general, the command-line options should
be considered 'advanced' features and should only be used if:
- you are an advanced user and
wish to enable/disable certain features to fine tune DiskPatch usage
- DIY DataRecovery support
suggests it
|
Type 'DP.exe /?' to display the list
of possible command-line parameters.
Detailed description of the
parameters:
- '/FOR'
Start DiskPatch in forensic mode. DiskPatch
will not use the administrative sector and will allow the user to
select a disk that has to be protected for the duration of the
session. More details can be found in the part of the manual that
describes how and when to use forensic mode.
- '/FIL'
Forces DiskPatch to ask the user where to write its files. Use this
switch if you wish to disable file writing altogether, or if you wish
to specify a different location for the files. The default location is
a directory named 'DPFILES' that is created in the current directory.
If file writing is disabled, the following functions can not be used:
- saving/loading state files
- logging
- creating undo files
- importing/exporting sectors
- '/IPE'
Ignore partition errors when rebuilding partition tables. Should not
be used unless suggested by DIY DataRecovery support.
- '/DNC'
Skip the disk check that is performed when selecting a disk.
When you select a disk to work with, a number of tests are performed
to make sure the disk is okay and recognized correctly. If a test
fails DiskPatch will notify you. When a disk is in bad shape these
tests may prevent DiskPatch from continuing after the disk was found
to be failing. Use '/DNC' in such cases to skip the tests.
- '/NPF'
Skip the 'preflight checks'.
At startup DiskPatch performs a number of tests to determine if
serious problems may prevent a successful recovery. In certain
situations these tests may prevent DiskPatch from continuing if the PC
or any of its disks have problems. Use '/NPF' in such cases to skip
the tests.
- '/EOD'
Will allow DiskPatch to read past the disk's boundary. This option can
be useful when the disk is not recognized correctly (the disk's size
is not accurately detected). Please note that if the disk is not
recognized correctly, it should be made a priority to fix this;
repairs can not be performed until a disk is recognized correctly by
the PC.
- '/ISC'
Allows loading a state file that is not connected to the disk
(anymore).
DiskPatch uses a randomly generated key to connect a state file to a
disk. This key is saved in the administrative sector and in the state
file, to make sure that under normal circumstances it would be
impossible to load an incorrect state file. If a situation occurs in
which an old state file needs to be loaded (while DiskPatch says that
the state file is not connected to the disk), use the '/ISC'
parameter. Please note that this parameter should never be used unless
needed; loading old state files can cause incorrect repairs.
- '/SET'
Allows the user to change core settings that affect the way DiskPatch
searches the disk and performs repairs.
These settings should never be changed unless
specifically requested by DIY DataRecovery support.
- '/DBG'
Will flush each log line to disk before continuing the next operation.
This will ensure a complete log file if hang-ups or crashes cause
problems. This setting slows DiskPatch down considerably, do not use
it unless needed.
When using '/SET' a screen is
displayed that allows you to change the following settings:
- 'READDELAY'
Enable (1) / disable (0) the read delay that occurs after a read error
was encountered.
- 'DUMPFOUNDSECTORS'
Enable (1) / disable (0) a full dump of the sectors that are found
during the 'analysis scan'.
This will increase the size of the log file considerably, do not use
it unless needed.
- 'FIXFATS'
Enable (1) /disable (0) the repair of FATs during 'rebuild boot
sector' operations.
- 'MAXFATSCAN'
The maximum number of sectors that is scanned when looking for FAT
details.
- 'MAXDATACOLLECTION'
The maximum number of records for the disk analysis database.
- 'IGNOREF8FF'
Ignore (1) or include (0) FAT records.
Setting this to 1 will lead to less clutter in the disk analysis
database, but will change the recovery rating for FAT partitions (the
rating's accuracy will drop).
- 'DOWNSIZEEXT'
When enabled (1) the extended partition that is created during the
'rebuild partition table' operation will be as large as the logical
partitions that it contains.
When disabled (0) the extended will include all space on the disk that
is located after the last primary partition.
- 'SCANSIG'
The signature that is used to identify 'significant' sectors, in Hex.
- 'REBUILDMBR' /
'REBUILDBS'
Use a blank template during a rebuild (1) or change the existing
sector (0) when performing a repair.
|