Transfer:
PQDI_OPTIONS
I remember I posted it in the water area. This is my own translation. It's not very good, and I don't have time to verify it. Those who are interested can take a look. If there are errors below, please point them out. Don't scold me~~ Don't ask me about unclear places. Hehe~
Generally, the syntax parameter structure of PQ is as follows:
PQDI <OPTIONS>
<OPTIONS> are as follows:
/CMD=<script file>
Specify the location of the command parameter file. See the following "<script file> Parameter Description" for details.
/IMG=<image file>
Specify the location of the image file.
/ERR=<error file>
If an error occurs, this file will be generated. This file can be used to view the cause of the error, etc.
/LOG=<log file>
Generate a LOG file for all operations so that users can view the operation process.
Different from /ERR=<error file>. /ERR=<error file> only reports error information, and /LOG=<log file> reports all information.
/MFS=<number of bytes>
Set the volume size of the generated image file, in bytes. Similar to GHOST's volume compression. So that it can be burned to CDR/CDRW.
/PWD=<password>
Set the password. Similar to GHOST.
/CBS
Enable bad sector check.
/NBS
Disable bad sector check.
/UEB
/RAV
<script file> Parameter Description:
1 Parameter for selecting the hard disk:
SELECT DRIVE {Number} Select the hard disk
Example:
SELECT DRIVE 1 Select the first hard disk
SELECT DRIVE 1 Select the second hard disk
If your computer has two hard disks at the same time, namely the master disk and the slave disk,
then SELECT DRIVE 1 means your master disk, and SELECT DRIVE 2 means your slave disk.
2 Parameter for selecting the partition:
SELECT PARTITION {Number} Select the partition
Example:
SELECT PARTITION 1 Select the first partition
SELECT PARTITION 2 Select the second partition
This parameter is used in conjunction with the SELECT DRIVE {Number} parameter, so as to specify which partition of which hard disk.
For example: SELECT DRIVE 1
SELECT PARTITION 2
If the above two parameters are used together, it refers to the second partition of the first hard disk.
SELECT PARTITION X Select the partition, X is the drive letter.
This parameter is similar to the above. Both are used to specify the partition. But note. This parameter is used under DOS.
This parameter is best used less. It is recommended not to use it.
I will give you an example to illustrate.
If you have only one hard disk and it is divided into 3 partitions (C: D: E:). All are FAT partitions. In this case
The parameter SELECT PARTITION 2 is the same as SELECT PARTITION D.
However, if your partition D: is an NTFS partition.
The parameter SELECT PARTITION 2 is different from SELECT PARTITION D.
SELECT PARTITION {Volume Label} Select the partition
Example:
SELECT PARTITION "DATA" Select the first partition whose volume label is "DATA".
I think this parameter is not used much.
SELECT PARTITION FIRST
Select the first partition.
SELECT PARTITION NEXT
SELECT PARTITION ALL
Select all partitions.
SELECT FREESPACE FIRST
Select the first free partition currently.
SELECT FREESPACE NEXT
Select the free partition after the previous partition.
3 Select the image file
SELECT IMAGE {Number}
Select the image file number.
SELECT IMAGE 3
Select the third image file
SELECT IMAGE ALL
Select all image files
4 Delete partition
DELETE
Used in conjunction with the SELECT PARTITION command.
DELETE ALL
Delete all partitions
DELETE EXTENDED
Delete the extended partition
5 Check sectors and set active
SECTOR CHECK ON
Enable the bad sector check function
SECTOR CHECK OFF
Disable the bad sector check function
SET ACTIVE
Set the active partition
6 Image file compression
STORE
Generate the image file command. And not compress
STORE WITH COMPRESSION OFF
The generated image file is not compressed (same as above)
STORE WITH COMPRESSION LOW
The generated image file is compressed with a low compression ratio
STORE WITH COMPRESSION HIGH
The generated image file is compressed with a high compression ratio
7 Adjust the size of the partition to be restored. Used in conjunction with DELETE ALL.
RESIZE IMAGE NO
Do not adjust the size of the restored partition. Used in conjunction with RESTORE.
RESIZE IMAGE PROPORTIONAL
Properly adjust the size of the restored partition
RESIZE IMAGE {Number}
Set the size of the restored partition
RESIZE IMAGE 500
Set the size of the restored partition to 500M.
RESIZE IMAGE MAX
RESTORE
Restore command
REBOOT