map.exe utility displays the paths of volumes of a user’s hard drive. It only works in the Windows Recovery Console.

Contents

Synopsis

Arguments under the [  ] brackets are optional.

map [arc]

Description

The map command provides a path of the volumes and the hard drives they belong to. This command is useful when using fixboot and fixmbr commands. The map command is available inside the Windows Recovery ConsoleMap also displays type of the filesystem and the size of each disk in megabytes (MB).

The options are as follows:

arc
Arc argument displays the device names using the Advanced RISC Computing naming convention.

Exit Status

map command returns 0 on success and 1 if an error occurs.

Examples

To preview the volume names and use them with the fixmbr or fixboot commands:

map
The example output would be:

C: NTFS 1024MB \Device\Harddisk0\Partition1
E: \Device\CdRom0

Compatibility

map command is compatible with Windows 2000 and Windows XP.

See Also

fixmbr  – utility used to update the master boot record.