Inserting and Deleting Drive

Assume that the MAP command displays the following information on drives:

Drive A: maps to a local disk
DriveB: maps to a local disk
DriveC: maps to a local disk
Drive F:=NIIT\SYS:\USER8
Drive G:=NIIT\SYS:\PUBLIC\WINDOWS
SEARCH1:=Z:.[NIIT\SYS:\PUBLIC]
SEARCH2:=Y:.[NIIT\SYS:\PUBLIC\WP]
SEARCH3:=X:.[NIIT\SYS:\ACCREC]

If you would like to change the search drive mappings, you can use the INS option with the MAP command. For instance, search drive 3 currently points to the subdirectory \ACCREC. If it is to refer to the subdirectory \PUBLIC\FOXPRO, the command

MAP INS SEARCH3:=NIIT\SYS:PUBLIC\FOXPRO

will ensure that it does.

The option INS maps the next available search drive to \PUBLIC\FOXPRO, in this case search drive W:. The command further converts X: to search drive 4 and assigns W: to search drive 3. The MAP command would now display the following

Drive A: maps to a local disk
DriveB: maps to a local disk
DriveC: maps to a local disk
Drive F:=NIIT\SYS:\USER8
Drive E: =NIIT\SYS: \PUBLIC\WINDOWS
SEARCH1: =Z:.[NIIT\SYS:\PUBLIC]
SEARCH2: =Y:.[NIIT\SYS:\PUBLIC\WP]
SEARCH3:=W:.[NIIT\SYS:\PUBLIC\FOXPRO]
SEARCH4: =X:. [NIITXSYS: \ACCREC]

To delete a network drive or search path, the DEL or REM option can be used.

For instance, if you issue the command

MAP DEL SEARCH4:
or
MAP REM SEARCH4:

search drive 4 will be removed and the message

'Mapping for X: has been deleted'

will be displayed.