This command redirects, or "maps", drives to network directories.
map display {on|off} map errors {on|off} map [root] [ins] drive:=path map drive:=drive: map n path map del drive:
map display {on|off} |
Specify whether drive mappings display on-screen as they map during login. This usage defaults to display on. |
map errors {on|off} |
Specify whether drive mapping errors display on-screen as they map during login. This usage defaults to map errors off. |
map [root] [ins] drive:=path |
Map a drive to a network directory. |
root |
Make path the virtual root of drive. Use this if you do not want users to access directories above path or if an application expects to find files in a certain relation to the root of a drive. |
ins |
Insert path into the DOS PATH environment variable. |
drive |
Specify any valid local or network drive letter or search drive number. You can also use the letter s followed by the number n, where n represents the desired position in your search path for the path. This also assigns the next available drive letter to the mapping, starting with Z and working backward. |
path |
Specify the name of server and the volume, or the drive letter and the full directory path on the drive or server. This specification defaults to the current server. |
map drive:=drive: |
Temporarily map a local drive, typically a drive letter such as F or G, to a network directory. You cannot access the local drive until you delete the mapping. |
map n path |
Map the next available network drive to the server, volume, and directory specified in path. |
map del drive: |
Delete a map from a local drive. |
Use the following command to display drive mappings on-screen as they map during login:
map display on |
Use the following command to keep drive mappings from displaying on-screen as they map during login:
map display off |
Use the following command to display drive mapping errors on-screen as they map during login:
map errors on |
Use the following command to keep drive mapping errors from displaying on-screen as they map during login:
map errors off |
Use the following command to map the D drive to the /tmp directory:
map D:=/tmp |
Use the following command to map local drive E to the directory /objects:
map E:=/objects: |
Use the following command to delete the map from the local drive F:
map del F: |