BootPrep Advanced Commands
5/10/2007
The following table shows advanced task code samples.
Task | Syntax |
---|---|
Display the online Help. |
|
Copy the PARTITION BOOT sector to A:\Bootrec.old. Command runs in read-only mode. |
|
Copy the PARTITION BOOT sector to A:\Bootrec.old and copy the master boot record sector to A:\Mbr.old. Command runs in read-only mode. |
|
Copy the PARTITION BOOT sector to A:\Bootrec.old. Command runs in read-only mode. |
|
Copy the PARTITION BOOT sector of drive C to A:\Bootrec.old, and then replace it with a new PARTITION BOOT sector using internal data. Command runs in read/write mode. |
|
Replace the PARTITION BOOT sector with a new sector using internal data. Command runs in read/write mode. The new sector is not saved because you have specified no output file for the old partition boot record. |
|
Copy the PARTITION BOOT sector of the F drive to A:\Bootrec.old, and then replace it with a new PARTITION BOOT sector using internal data. Command runs in read/write mode. |
|
Copy the PARTITION BOOT sector of the C drive to A:\Bootrec.old, and then replace it with a new PARTITION BOOT sector from A:\SectFile.Sec. Command runs in read/write mode. |
|
Automatically answer "Yes" to all questions. Command runs in read/write mode. This command copies the PARTITION BOOT sector of the C drive to A:\Bootrec.old, and then replaces it with a new PARTITION BOOT sector using internal data. |
|
The following table shows examples of incorrectly formatted commands.
Syntax | Result |
---|---|
|
Command runs in read-only mode. No action occurs because you have specified no output file for the partition boot record or the master boot record. |
|
Command runs in read-only mode. No action occurs because you have specified no output file for the partition boot record. |