MAP
View drive mappings, create/change network or search drive mappings, map
drive to fake root directory.
Synopsis
MAP [P | NP] [option ... ]
drive:= [drive: | path] [/? |
/VER]
Description
Use MAP at a workstation to:
-
view drive mappings
-
create or change network or search drive mappings
-
map a drive to a fake root directory for applications that must
use the root directory
Options
Used with no options, MAP displays drive mappings.
- P
-
Map to a physical volume. Must be listed first or second.
- NP
-
Overwrite local or search drives without being prompted. Must be listed
first or second.
- option
-
Specify one or more options from the following:
- P
-
Map to a physical volume. Must be listed first or second.
- Np
-
Overwrite local or search drives without being prompted. Must be listed
first or second.
- C
-
Change a regular drive to a search drive, or a search drive to a regular
drive.
- DEL
-
Delete a drive mapping.
- INS
-
Insert a search drive mapping without replacing an existing mapping.
- N
-
Map the next available drive to the specified path.
- ROOT
-
Map a drive to a fake root directory for applications that require
rights in a root directory.
- drive
-
Specify the drive you want to change.
- path
-
Specify the path you want to map a drive to. To map to a physical volume on
a server that is not your default server, specify the entire path
(server/volume:directory\subdirectory).
- /?
-
View online help. (Other parameters are ignored.)
- /VER
-
View the version number of the utility and the files it uses to execute.
(Other parameters are ignored.)
Usage
If you do not include drive mappings in your login script, they will have
to be manually recreated each time you log in.
You can have up to 26 mappings, including local drives.
Search drive mappings begin with the letter ``Z'' and continue backward
through the alphabet.
To map a search drive, use ``S'' and a number.
If you do not want to overwrite existing search drives, use the INS
option.
To map to the next available search drive, use S16:=.
Examples
-
To view mappings, type:
MAP
-
To map drive G: to SYS:\HOME\GEORGE, type:
MAP G:=SYS:\HOME\GEORGE
-
To extend the mapping for drive G: above to
SYS:\HOME\GEORGE\PROJECTS, type:
MAP G:=PROJECTS
-
To map search drive 4 to PRUFROCK\SYS:APP, type:
MAP S4:=PRUFROCK\SYS:APP
-
To delete the mapping for drive G:, type:
MAP DEL G:
-
To map drive F: to HOME\TERRY as a fake root, type:
MAP ROOT F:=HOME\TERRY
-
To map the last possible search drive to WIZARD/SYS:PUBLIC, type:
MAP S16:=WIZARD/SYS:PUBLIC
-
To map the next available drive to BRUTUS/SYS:ACCT\OLD, type:
MAP N BRUTUS/SYS:ACCT\OLD
-
To insert COUNT/SYS:PUBLIC as a new search drive, type:
MAP INS S4:=COUNT/SYS:PUBLIC
-
To map to PUBLIC\RPTS under volume object
ACCT _SYS.ACCT.ACME.US from the root, type:
Map H:=.ACCT_SYS.ACCT .ACME.US:PUBLIC\RPTS
Additional information
For more information on login scripts, see
``Customizing the user environment''.
© 1999 The Santa Cruz Operation, Inc. All rights reserved.
UnixWare 7 Release 7.1.1 - 5 November 1999