home *** CD-ROM | disk | FTP | other *** search
/ Shareware 1 2 the Maxx / sw_1.zip / sw_1 / TEXT / PDX_ALL.ZIP / TI146.ASC < prev    next >
Text File  |  1991-11-05  |  12KB  |  397 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.   PRODUCT  :  Paradox                                NUMBER  :  146
  9.   VERSION  :  All
  10.        OS  :  DOS
  11.      DATE  :  November 5, 1991                         PAGE  :  1/6
  12.  
  13.     TITLE  :  A Discussion of Novell Maps and Search Maps
  14.  
  15.  
  16.  
  17.  
  18.   A Brief Explanation of a Map:
  19.  
  20.   Generally speaking a Map is a method of allowing users running on
  21.   a network to access directories on a file server through logical
  22.   drive letters.
  23.  
  24.  
  25.   Map Commands Can Be Executed at Several Levels:
  26.  
  27.       *  Once network drivers are loaded a drive letter is Mapped
  28.          to File_Server>\Sys:\Login so that you can log in and
  29.          access the server.  Typically the drive letter is F:.
  30.          When you type F: you are moved to drive F: in the Login
  31.          directory (F:\Login).
  32.  
  33.       *  Mappings can be set globally through a global Login Script
  34.          which is executed automatically when a user logs on to a
  35.          specific server.
  36.  
  37.       *  Each user can have a personal Login Script which executes
  38.          Mappings which only effect them.  These commands are also
  39.          executed automatically after the global Login Script is
  40.          executed.
  41.  
  42.       *  Mappings can be executed at the DOS command line or from a
  43.          DOS batch file.
  44.  
  45.   The Map Command:
  46.  
  47.   The syntax of the MAP command:
  48.  
  49.   Map <Drive Letter>: = <File_Server>\<Volume>:\<Directory>
  50.  
  51.   <Drive Letter> is the drive letter that you want to map to a
  52.   directory on the server.
  53.  
  54.   <Server> is the Name of the server to which you are currently
  55.   attached.
  56.  
  57.   <Volume> is a designated subsection of the server akin to the
  58.   Volume Label of a logical partition.  The difference is that the
  59.   Volume cannot be accessed until you Map it to a drive letter.
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.   PRODUCT  :  Paradox                                NUMBER  :  146
  75.   VERSION  :  All
  76.        OS  :  DOS
  77.      DATE  :  November 5, 1991                         PAGE  :  2/6
  78.  
  79.     TITLE  :  A Discussion of Novell Maps and Search Maps
  80.  
  81.  
  82.  
  83.  
  84.   Notes:
  85.  
  86.   When you Map a drive letter to a Volume the drive letter becomes
  87.   root of the Volume.  For instance if you Map T: to
  88.   <File_Server>\Apps with the command: "Map T: =
  89.   <File_Server>\Apps:" then T: enables you to access the root of
  90.   the Apps Volume.
  91.  
  92.   If you Map a drive letter to a Volume and a directory then when
  93.   you change to that Mapped drive letter you automatically change
  94.   to that directory as well.  This does not mean that the drive
  95.   letter is assigned to that directory but that the directory is
  96.   the default directory on that logical partition.  For instance,
  97.   let's examine the following Map command:
  98.  
  99.        Map S: = ServerName\Apps:\PdoxData
  100.  
  101.   The first time you change to S: after logging in you will see the
  102.   prompt S:\PdoxData>.  After you have changed to this drive the
  103.   first time you can change the active directory just as you can
  104.   change to any directory on any DOS drive.  If you change to the
  105.   root of S: (S:\) then the next time you access the S: drive S:\
  106.   will be the current directory.  If you log off and log back in
  107.   then S: will again take you to S:\PdoxData.
  108.  
  109.  
  110.   The Map Root Command:
  111.  
  112.   The syntax of the MAP ROOT command:
  113.  
  114.   Map Root <Drive Letter>: = <File_Server>\<Volume>:\<Directory>
  115.  
  116.   The Map Root command is useful if you wanted to actually Map a
  117.   drive letter to a subdirectory below the root of a Volume.  For
  118.   instance, if you wanted to Map S: to ServerName\Apps:\PdoxData so
  119.   that PdoxData is the root of S: (similar to the DOS Subst
  120.   command) you would use the following command:
  121.  
  122.   Map Root S: = <File_Server>\Apps:\PdoxData
  123.  
  124.   Now if you change to S: you will see the prompt S:\>.  PdoxData
  125.   is the root of S:.  If you do a directory of S:\ you will see the
  126.   files associated with the PdoxData directory.  With this Mapping
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.   PRODUCT  :  Paradox                                NUMBER  :  146
  141.   VERSION  :  All
  142.        OS  :  DOS
  143.      DATE  :  November 5, 1991                         PAGE  :  3/6
  144.  
  145.     TITLE  :  A Discussion of Novell Maps and Search Maps
  146.  
  147.  
  148.  
  149.  
  150.   you can no longer access the the root of the Apps Volume through
  151.   drive letter S:.
  152.  
  153.  
  154.   The Search Map Command
  155.  
  156.   The syntax of the SEARCH MAP command:
  157.  
  158.   Map S<Number>: = <Server>\<Volume>:\<Directory>
  159.  
  160.   <Number> is the position of this directory in the search path.
  161.  
  162.   Once a search map statement is executed the directory is mapped
  163.   to the first unused drive letter in reverse alphabetical order.
  164.   For instance, if drives Z: and Y: are already in use by previous
  165.   Map statements the Search Map will assign the drive letter X: to
  166.   the directory in question.  This is true even if that directory
  167.   is already Mapped to another drive letter through a previous Map
  168.   statement.  The newly assigned drive letter will not only enable
  169.   location of executable files in that specific directory but also
  170.   behave as a regular Mapped drive.  When used for searching a path
  171.   to locate executables in a specific directory it will be referred
  172.   to in the form of "<Drive Letter>:.".
  173.   (For example: X:.)
  174.  
  175.   The period which follows the colon stands for the current
  176.   directory on that drive.  When an executable program is called at
  177.   the DOS level and the Search Mapped drive letter is encountered
  178.   in the Path Novell uses the period as a lookup value and replaces
  179.   it with the full Search path.  If you want to be able to use this
  180.   search map to locate executable programs be sure not to change
  181.   the current working directory for that drive letter at the DOS
  182.   level.  If you want to be able to move up and down directories on
  183.   the Volume in question it is best to Map the drive with one
  184.   letter and Search Map the directory to be searched separately.
  185.   Only use the drive letter from the Map when moving around at the
  186.   DOS level.
  187.  
  188.   For example, let's say that we want to Search Map a directory
  189.   called Pdox35 which is stored in the Apps volume.  Here is the
  190.   Search Map statement which you could place in the user's login
  191.   script:
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.   PRODUCT  :  Paradox                                NUMBER  :  146
  207.   VERSION  :  All
  208.        OS  :  DOS
  209.      DATE  :  November 5, 1991                         PAGE  :  4/6
  210.  
  211.     TITLE  :  A Discussion of Novell Maps and Search Maps
  212.  
  213.  
  214.  
  215.  
  216.       Map S1: = File_Server\Apps:\Pdox35
  217.  
  218.   Once executed this directory is Mapped to drive letter (let's say
  219.   X:).  The DOS path will now include X:.  (including the period).
  220.   Once the X:. is encountered Novell takes control and substitutes
  221.   (in memory) the entire Search Path: X:\Pdox35
  222.  
  223.   Since the placement of a network directory in the search path can
  224.   be done in many different ways we will discuss this process one
  225.   scenario at a time.  For the sake of example we will assume that
  226.   the user has an existing DOS Path of: C:\;c:\dos;c:\utils.
  227.  
  228.   Scenario 1
  229.  
  230.   The network directories are Search Mapped in the user's login
  231.   script:
  232.  
  233.   If a Search Map is defined in the user's login script then the
  234.   network directory specified will be written into the user's DOS
  235.   Path in the position specified by the search map number.  For
  236.   instance, if the map statement is Map S1:
  237.   <File_Server>\Apps:\Pdox35 then the DOS path of the user will be
  238.   changed to X:.;C:\Dos;C:\Utils where X:. is the search drive
  239.   letter assigned to the Pdox35 directory.  If the Search number
  240.   was changed to S2: the position of X:. would be shifted to the
  241.   second position in the DOS Path (i.e. C:\;X:.;C:\Utils). Note
  242.   that the Search Map command overwrites the directory which
  243.   previously resided in the search position specified.  To avoid
  244.   this the keyword Insert must be used so that the rest of the path
  245.   can remain intact.  See Scenario 3 for further discussion of the
  246.   Insert keyword.
  247.  
  248.  
  249.   Scenario 2
  250.  
  251.   The network directories are Mapped in a Login Script but placed
  252.   into the DOS Path Statement explicitly by the user with a Path
  253.   Append (%Path%) statement:
  254.  
  255.   Rather than Search Mapping network directories in a Login Script
  256.   a user can place a Mapped drive letter into the DOS Path by
  257.   appending the drive letters at the end of the regular DOS Path
  258.   after Login.  Once again the network drive letters must end with
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.   PRODUCT  :  Paradox                                NUMBER  :  146
  273.   VERSION  :  All
  274.        OS  :  DOS
  275.      DATE  :  November 5, 1991                         PAGE  :  5/6
  276.  
  277.     TITLE  :  A Discussion of Novell Maps and Search Maps
  278.  
  279.  
  280.  
  281.  
  282.   a period to specify a Search Map as opposed to searching the root
  283.   of a regular DOS logical partition.  The following example is a
  284.   Login batch file which implements such a strategy.  Assume that
  285.   X: and Z: are already Mapped in the user's Login Script.
  286.  
  287.        IPX
  288.        NET5
  289.        F:
  290.        Login File_Server/User_Name
  291.        Path=%Path%;X:.;Z:.
  292.  
  293.   Even though X: and Z: were not specifically Search Mapped, (they
  294.   were only Mapped) the period acts as a flag to inform the Novell
  295.   Netware that there is additional directory information specified
  296.   in the Map statement associated with this drive letter.  The
  297.   advantage of this method is that you can control what drive
  298.   letters are used in the DOS Path statement.
  299.  
  300.  
  301.   Scenario 3
  302.  
  303.   Search Maps are implemented manually or through a batch file
  304.   after the Login Script and DOS path are set:
  305.  
  306.   Once a user has logged in and the Login Script has been
  307.   implemented the Novell Netware stores information about the
  308.   position of each directory and Search Map.  If you execute the
  309.   Map command without any drive letter or server/volume info (i.e.
  310.   Map) a display of your current Maps and Search Maps will be
  311.   printed to the screen.  The last section will look something like
  312.   this:
  313.  
  314.   SEARCH 1: = C:\
  315.   SEARCH 2: = C:\DOS
  316.   SEARCH 3: = C:\UTILS
  317.   SEARCH 4: = X:. [<FILE_SERVER>\APPS:  \PDOX35]
  318.  
  319.   The equivalent DOS Path would look like this:
  320.  
  321.   Path=C:\;C:\Dos;C:\Utils;X:.
  322.  
  323.   These positions are fixed.  If you now execute a Search Map
  324.   assigned to S1: you will overwrite the current setting for SEARCH
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.   PRODUCT  :  Paradox                                NUMBER  :  146
  339.   VERSION  :  All
  340.        OS  :  DOS
  341.      DATE  :  November 5, 1991                         PAGE  :  6/6
  342.  
  343.     TITLE  :  A Discussion of Novell Maps and Search Maps
  344.  
  345.  
  346.  
  347.  
  348.   1:. C:\ would be removed from your DOS Path and the new setting
  349.   would take its place.  In order to enable a user to insert a new
  350.   Search Map in a specific position without overwriting the current
  351.   entry Novell supplies the keyword INSERT which creates a new
  352.   entry for the position in question and pushes all subsequent
  353.   entries down one position in the Search Path.  For example, let's
  354.   say we want to place a new Search Map to a directory called
  355.   PdoxData on the Data volume into position 1 in the Search Path.
  356.   This example assumes that W: is next available drive letter:
  357.  
  358.   Map Insert S1: =  File_Server\Data:\PdoxData
  359.  
  360.   The new Search Path would now appear as follows:
  361.  
  362.   SEARCH 1: = W:. [<FILE_SERVER>\DATA:  \PDOXDATA]
  363.   SEARCH 2: = C:\
  364.   SEARCH 3: = C:\DOS
  365.   SEARCH 4: = C:\UTILS
  366.   SEARCH 5: = X:. [<FILE_SERVER>\APPS:  \PDOX35]
  367.  
  368.   The equivalent DOS Path would look like this:
  369.  
  370.   Path=W:.;C:\;C:\Dos;C:\Utils;X:.
  371.  
  372.   If you wanted to delete a reference to a local directory or
  373.   Search Map in a Search Path you could use the DELETE keyword.
  374.   For instance, if you now wanted to remove PdoxData from the Path
  375.   you would use the following command:
  376.  
  377.   Map Delete S1:
  378.  
  379.  
  380.   Note:
  381.  
  382.   The keywords Insert and Delete may be abbreviated with Ins and
  383.   Del.
  384.  
  385.   For more information on Novell Maps contact Novell's Technical
  386.   Support Department.
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.