Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
MIRROR
Starts the MIRROR program, which records information about one or more
disks; the UNFORMAT and UNDELETE commands can use this information to
restore a reformatted disk or to recover deleted files.SYNTAX
------
MIRROR [drive:[ ...]] [/1] [/Tdrive[-entries][ ...]]MIRROR [/u]
MIRROR [/partn]
To save information about the disk in the current drive, use the following
syntax:MIRROR
PARAMETER
---------
drive:
Specifies the drive containing the disk for which you want MIRROR to
save information. This information is used by the UNFORMAT command to
restore a disk.SWITCHES
--------
/1
Retains only the latest information about the disk. If you do not
specify this switch, MIRROR makes a backup copy of the existing
disk-information file before recording the current information./Tdrive[-entries]
Loads a terminate-and-stay-resident deletion-tracking program that
records information used by the UNDELETE command to recover deleted
files. The required drive parameter specifies the drive containing
the disk for which you want MIRROR to save information about deleted
files. The optional entries parameter, which must be a value in the
range 1 through 999, specifies the maximum number of entries in the
deletion-tracking file (PCTRACKR.DEL). The default value for entries
is dependent upon the type of disk being tracked. The following list
shows each disk size, its default number of entries, and its
corresponding file size:Disk size Entries File size
360K 25 5K
720K 50 9K
1.2 megabyte (MB) 75 14K
1.44 MB 75 14K
20 MB 101 18K
32 MB 202 36K
32 MB 303 55KCAUTION Do not use deletion tracking for any drive that has been
redirected by using the JOIN or SUBST command. If you intend to use the
ASSIGN command, you must do so before using MIRROR to install deletion
tracking./U
Unloads the deletion-tracking program from memory, disabling deletion
tracking. You cannot unload the tracking program if you loaded any
other memory-resident programs after it./PARTN
Saves system information about how a hard disk is partitioned. The
switch saves the information in a file on a floppy disk. The UNFORMAT
command can use this file later to rebuild the partitions of a disk.Saving information about a disk
no keys--
The MIRROR program saves a copy of the file allocation table and the root
directory of the disk in the specified drive. The UNFORMAT command can
use this information to rebuild a disk that has been unintentionally
formatted, or it can use the information to recover files and subdirectories
in the disk's root directory.Because UNFORMAT restores the disk’s system area to the condition it was
in when you last used MIRROR, you should save this information frequently
for every hard disk drive in your system. To ensure that the information
is saved each time you turn on your computer, you may want to add a MIRROR
command to your AUTOEXEC.BAT file.Removing the deletion-tracking program from memory
-----
You may need to remove the deletion-tracking program from memory. To do so,
remove all memory-resident programs that you loaded after the deletion-
tracking program, and then use the MIRROR command with the /U switch.
Since this turns off deletion tracking, any files deleted after you remove
the tracking program can be recovered only by using information in the
directory.Saving information about hard-disk partitions
no keys----------------
Every formatted hard disk drive has at least one partition. To identify a
hard disk drive, MS-DOS uses information stored in a special disk partition
table. If this table is corrupted, MS-DOS cannot locate the hard disk.You can save partition-table information for a hard disk by using the
MIRROR command with the /PARTN switch. This switch creates a file named
PARTNSAV.FIL, which the UNFORMAT command can use to rebuild the partition
table. Because MS-DOS cannot gain access to your hard disk if the partition
table is damaged, you should not put this file on the hard disk itself.
Instead, you should put the file on a floppy disk (which you should keep
in a safe place) or on another hard disk drive, such as a network server.EXAMPLES
--------
To save a copy of the file allocation table and the root directory of
drive C and to install deletion tracking for drives A and C, type the
following command:mirror c: /ta /tc
Suppose you want to save a copy of the file allocation table and the root
directory of the disk in the current drive, and you want to install the
deletion-tracking program for drive C. To do this and to set the maximum
number of deletions to be tracked to 500, type the following command.
(Note that since no drive parameter is specified, MIRROR saves the
information about the disk in the current drive.)mirror /tc-500
To save a copy of the partition table for your hard disk drive, type the
following command:mirror /partn
The MIRROR program displays the following information:Disk Partition Table saver.
The partition information from your hard drive(s) has been read.
Next, the file PARTNSAV.FIL will be written to a floppy disk. Please
insert a formatted diskette and enter the name of the diskette drive.
What drive? AThe default disk drive is drive A. If you want to use a different drive,
type the drive letter (making sure it does not identify a partition on
the hard disk drive), insert a formatted floppy disk in the drive (if
necessary), and press ENTER.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |