home *** CD-ROM | disk | FTP | other *** search
/ Lion Share / lionsharecd.iso / utils_mz / xpath39.zip / README.XP next >
Text File  |  1991-10-17  |  17KB  |  465 lines

  1.  
  2.  
  3.  
  4.  
  5.         Apologies for the shareware pause that comes up every time you 
  6.         execute XPATH.  The screen displayed is there because XPATH.EXE gets
  7.         distributed to other bulliten boards without the accompaning
  8.         README.XP file that has the order form in it.  Thus, the shareware
  9.         screen provides a method for people to order the product.  The screen
  10.         does not appear in the registered version of the program.
  11.  
  12.  
  13.                              XPATH Version 3.7
  14.                              -----------------
  15.  
  16.          Have you ever tried to set your path longer than  127 characters? 
  17.          Without XPATH, or a similar product, it just can't be done.  The
  18.          reason is that you cannot type more than 128 characters at the
  19.          prompt.  Even if you create a BAT file where you can type more than
  20.          128 characters on a line, you cannot set your path past 127
  21.          characters because the command interpreter will not read past the
  22.          128th column of you BAT file.  
  23.  
  24.          This problem is solved when you use XPATH.  With XPATH, you create
  25.          a file that contains 1 line for each directory you want in your
  26.          path.  You then simply execute XPATH, specifying the file that
  27.          contains the directories you want in your path.
  28.  
  29.          For example, say you want your path to look like this:
  30.  
  31.          c:\;c:\dos;c:\util;c:\util\rexx20\pgms;c:\windows;c:\windows\excel
  32.  
  33.          You create an ASCII (text) file that looks like this:
  34.  
  35.          c:\
  36.          c:\dos
  37.          c:\util
  38.          c:\util\rexx20
  39.          c:\util\rexx20\pgms
  40.          c:\windows
  41.          c:\windows\excel
  42.  
  43.          Save the file giving any name you wish.  Let's say you name it
  44.          PATH.TXT.  You would then create your path by executing the XPATH
  45.          command as follows:
  46.  
  47.          XPATH PATH.TXT
  48.  
  49.          The above format assumes that PATH.TXT is in your current directory
  50.          and XPATH.EXE is in your current path or current directory.
  51.  
  52.          If the file containing the directories you want in your path is not
  53.          in your current directory when you execute XPATH, you can specify
  54.          where the file is in the following way:
  55.  
  56.          XPATH C:\DATA\PATH.TXT
  57.  
  58.          That is how you would do it if your path file is called PATH.TXT
  59.          and is in a sub-directory on C called DATA.
  60.  
  61.       -->Note: some versions of the shareware xpath is named XPATHSW.  In this 
  62.                case the command is XPATHSW rather than XPATH; or if you wish, you 
  63.                may rename XPATHSW.EXE to XPATH.EXE.
  64.      
  65.                        _____________________________________________________
  66.                        XPATH is a registered trandemark of XWARE Development
  67.          Page 1                                               copyright 1991
  68.  
  69.  
  70.   Extra Features   
  71.   -------------- 
  72.  
  73.         But wait, there's more.  We have just added 3 new features!  
  74.  
  75.         You can now add and deleted from your path on the fly.  Suppose you
  76.         want to add the directory C:\WING to your path right away.  Simply 
  77.         type: 
  78.  
  79.                 XPATH -A C:\WING
  80.  
  81.         That's all you have to do.  Xpath will add the new directory to the
  82.         end of your current path.  It does not modify your path data file
  83.         though, so the next time you reboot, the added path will not be there.
  84.  
  85.         Suppose you want to delete the directory C:\WINDOWS out of your path. 
  86.         Simply type:
  87.  
  88.                 XPATH -D C:\WINDOWS
  89.  
  90.         That's all you have to do.  The rest of your path remains intact, but
  91.         C:\WINDOWS is removed.
  92.  
  93.         The 3rd new feature added to xpath is the directory list feature. 
  94.         Simply type XPATH with no parameters, and all the directories in your
  95.         path are listed on separate lines.  You can use this feature to
  96.         create a file that can later be used as input to xpath in your
  97.         autoexec.bat file.  For example:
  98.  
  99.         Type:
  100.                 XPATH -L >PATH.TXT
  101.  
  102.         You will get a file that has a list of directories in your path.
  103.         This file will also contain the xpath logo (and shareware information
  104.         if you have not yet registered), so you will have to edit the file to
  105.         delete that stuff.  Remember to also delete the byte total at the end
  106.         of the file.  Then save the file and use it as input to XPATH in your 
  107.         autoexec.bat file as described on the previous page.
  108.  
  109.         IMPORTANT NOTE: If you have not registered your copy yet, a pause
  110.         comes up and you are required to press enter after the pause. 
  111.         When you use the above method to create an input file for Xpath, you
  112.         will not see the "press enter to continue" message", but you still
  113.         have to press enter.  If you have an unregistered version, wait 3
  114.         seconds after typing XPATH >PATH.TXT and then press enter.
  115.  
  116.         Starting with version 3.5, the total bytes in your path are reported
  117.         when you type XPATH with no parameters.  I have found that some app-
  118.         lications lock up when your path starts to get long.  The application 
  119.         that I had a problem with was BRIEF (a text editor).  When my path
  120.         reached about 265 bytes, BRIEF would lock up when I tried to invoke it.
  121.  
  122.      -> Type XPATH -? for help and expamples.
  123.  
  124.  
  125.                        _____________________________________________________
  126.                        XPATH is a registered trandemark of XWARE Development
  127.          Page 2                                               copyright 1991
  128.  
  129.  
  130.          Possible problems
  131.          -----------------
  132.  
  133.          One of the main reasons you would want to use xpath is because you
  134.          want a path longer than 127 characters.  So, after using XPATH, if
  135.          you type the PATH command to display your path, you may see that your
  136.          path is longer than 127 characters.  My path is 197 characters. When
  137.          I run the setup program for the text-editor I use (BRIEF), it tries
  138.          to insert d:\brief into my path.  At the time it does this, it is a
  139.          little confused because it sees my path is longer than 127
  140.          characters.  It issues a warning message that says my path is too
  141.          long, but no problems occur.
  142.  
  143.          Anytime you run an install program that puts a path command in your
  144.          autoexec.bat file, you will have to take that path command out and
  145.          put that path in your path file that you use when you execute XPATH.  
  146.  
  147.          Some programs that read your path could have a problem with a path
  148.          longer than 127 characters.  Some programs may stop searching the
  149.          path after the 127th character, or even blow up when they find that
  150.          your path is larger than 127 characters.  I've only encountered this
  151.          problem with BRIEF and a path greater than 165.
  152.  
  153.       -->When your path gets unusually large, the whole thing may not display
  154.          when you type the dos PATH or SET command.  The reason for this is that  
  155.          DOS doesn't expect your path to ever be longer than 127 bytes, so it gets
  156.          confused when it's longer, and it prints just part of the path.  Sometimes
  157.          it will print the whole thing even when it's greater than 127 bytes, but to
  158.          be sure you're seeing your whole path, type XPATH with no parameters when you
  159.          want to see your path.
  160.  
  161.          DOS 5.0
  162.  
  163.          After you have set your path with XPATH, using the DOS path command to 
  164.          look at your path will not work.  You will see only part of your path.
  165.          The same is true when you look at your path by typing SET.  To see your
  166.          path, type XPATH with no parameters.  Your path will list out -- each 
  167.          directory displaying on a new line.  
  168.  
  169.           -> Remember, the longer your path gets, the greater the possibility 
  170.              some applications will have of locking up.                    
  171.  
  172.              ONCE YOU HAVE CREATED A PATH > 127 CHARACTERS, DO NOT USE DOS'S
  173.              SET OR PATH COMMAND TO CHANGE IT.  ONLY USE XPATH.  IF YOU WISH
  174.              TO QUIT USING XPATH, TAKE XPATH OUT OF YOUR AUTOEXEC.BAT AND REBOOT.
  175.  
  176.  
  177.          Do not put equal signs (=) in your path input file.  This will cause 
  178.          extrainious = signs in your path which will confuse XPATH.
  179.  
  180.  
  181.  
  182.                        _____________________________________________________
  183.                        XPATH is a registered trandemark of XWARE Development
  184.          Page 3                                               copyright 1991
  185.  
  186.  
  187.  
  188.  
  189.          ENVIRONMENT SIZE PROBLEMS
  190.          -------------------------
  191.  
  192.          NEW PATH TOO LARGE TO FIT IN CURRENT ENVIRONMENT. PATH UNCHANGED.
  193.  
  194.          If you run out of environment space when using
  195.          XPATH, this means you need to allocate more
  196.          environment space.  If you have this problem when opening a
  197.          DOS window under windows, skip to the next section.  If you
  198.          have this problem when running XPATH from your AUTOEXEC.BAT
  199.          file, then you need to increase your environment size by
  200.          adding the following line to your config.sys file:
  201.  
  202.  
  203.          shell = c:\command.com c:\ /p /e:640
  204.  
  205.  
  206.          The /e:640 in the above line tells DOS to allocate 640
  207.          bytes to your environmet.  You may need to use a larger
  208.          number if you have a lot of SETS in your AUTOEXEC.BAT file,
  209.          or if you have a lot of directories in your XPATH directory
  210.          file.  The above command assumes you are booting from a 
  211.          hard drive who's name is 'C'.
  212.  
  213.  
  214.          *********
  215.          WARNING: 
  216.          *********
  217.  
  218.          The shell command also tells DOS where your command.com
  219.          file is located.  If you specify a location where
  220.          command.com does NOT exsist, your PC will not boot up off
  221.          the hard drive.  If this happens, you will have to boot
  222.          from diskette and correct the problem in your config.sys
  223.          file. 
  224.  
  225.          If you know you have a lot of envronment space, but you still get
  226.          the "path won't fit" message, then it may be becuase you are in 
  227.          a DOS shell.  Type EXIT to make sure you are not in a DOS shell. 
  228.          If you are, then typing EXIT will cause you to go back to the 
  229.          application you "shelled" out of.
  230.  
  231.          DOS Compatability
  232.          ----------------- 
  233.  
  234.          XPATH was written under DOS 3.30 and is compatable with
  235.          DOS 3.1 and higher -- including 5.0.
  236.  
  237.  
  238.  
  239.                        _____________________________________________________
  240.                        XPATH is a registered trandemark of XWARE Development
  241.          Page 4                                               copyright 1991
  242.  
  243.          INCREASEING ENVIRONMENT SIZE FOR A WINDOWS'S DOS WINDOW:
  244.          --------------------------------------------------------
  245.  
  246.          To increase your environment size for a DOS window under
  247.          Window's, you set up a PIF as follows:
  248.  
  249.          - Click on "Close window on exit" (turn it on).
  250.          - Program Filename:     COMMAND.COM
  251.          - Optional Parameters:  /E:640 /C C:\BAT\XPATHWIN.BAT
  252.  
  253.          The /E:640 allocates 640 bytes to your environment.  You
  254.          can increase or decrease this if you wish.  The /C says the
  255.          the following filename is a BAT file to be executed.  You
  256.          can use any filename you wish.  The bat file you execute
  257.          should execute XPATH as well as any other commands you wish
  258.          to execute.  Also, the last line in the bat file must
  259.          execute command.com again.  This will keep your dos window
  260.          from immediatly returning to windows when the bat file is
  261.          finished executing.  An example of a bat file for a DOS
  262.          window that executes xpath is:
  263.  
  264.          ECHO OFF
  265.          ECHO Setting path...
  266.          C:
  267.          CD \UTILS
  268.          XPATH C:\DATA\PATH.DAT
  269.          COMMAND.COM /E:640
  270.  
  271.          Why the /E:640 on the last line even though we already
  272.          specified /E:640 in the PIF? Well, the /E:640 in the PIF
  273.          gives 640 bytes of environment space for the bat file to
  274.          use.  The bat file uses it, but then the last thing the
  275.          bat file does is to load a new command environment.  When
  276.          this occurs, the environment variables from the old command
  277.          environment are copied to the new command environment. 
  278.          Thus, the new command evironment needs at least as much
  279.          environment space as was specified in the PIF.
  280.  
  281.          If you have problems setting your path in a DOS window
  282.          under Windows, you can set it before you enter windows, and
  283.          all DOS windows will recognize it.
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.                        _____________________________________________________
  295.                        XPATH is a registered trandemark of XWARE Development
  296.          Page 5                                               copyright 1991
  297.  
  298.  
  299.  
  300.  
  301.     Registering XPATH
  302.     -----------------
  303.  
  304.          You have an evaluation copy of XPATH.  Please register it by sending
  305.          $15.00 to:
  306.  
  307.                    XWARE Development
  308.                    7351 Woburn Cir. Suite #1
  309.                    Anchorage, Alaska  99502
  310.  
  311.                    phone: (907) 248-1211
  312.  
  313.          By registering your copy of XPATH, you will be sent the latest
  314.          version which will not have the pause in it.  You will be entitled
  315.          to free technical support, and you will get future versions of XPATH
  316.          at a reduced cost.
  317.  
  318.  
  319.          The next version of Xpath will include automatic update of your path
  320.          file when you add or delete from your path on the fly.
  321.  
  322.  
  323.  
  324.  
  325.  
  326.                     see last page for registration form.
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347.  
  348.  
  349.                        _____________________________________________________
  350.                        XPATH is a registered trandemark of XWARE Development
  351.          Page 6                                               copyright 1991
  352.  
  353.          Current License Agreement - xpath 3.7
  354.          -------------------------
  355.  
  356.          You are entitled to use the evaluation copy of XPATH for evaluation
  357.          purposes only.  Use this registration form to purchase a copy of
  358.          XPATH should you decide to continue to use it.  Purchasing a copy of
  359.          XPATH entitles you to use it on one machine.  If XPATH is installed on
  360.          a network, a license must be purchased for each workstation that access
  361.          XPATH.
  362.  
  363.          Feel free to upload the shareware version of xpath to your favorite
  364.          bulletin boards.
  365.  
  366.          +-----------------+
  367.          :REGISTRATION FORM:  3.7
  368.          +-----------------+
  369.  
  370.  
  371.  
  372.          Company (if applicable): _______________________________________
  373.  
  374.          Your name:    __________________________________________________
  375.  
  376.          Address:      __________________________________________________
  377.  
  378.                        __________________________________________________
  379.  
  380.                        __________________________________________________
  381.  
  382.  
  383.  
  384.          No. of copies:  _____       (enclose $15 per copy)
  385.  
  386.  
  387.          Amount enclose: __________
  388.  
  389.  
  390.          Make checks payable to XWARE Development.
  391.  
  392.          Send to:  XWARE Development
  393.                    4719 Malibu Road  Suite #1
  394.                    Anchorage, Alaska  99517
  395.  
  396.                    phone: (907) 243-5052
  397.  
  398.  
  399.          COMPUSERVE USER-ID: 76424,1335
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.                        _____________________________________________________
  407.                        XPATH is a registered trandemark of XWARE Development
  408.          Page 7                                               copyright 1991
  409.  
  410.                                  XWARE Disclaimer
  411.        
  412.        XWARE   specifically   disclaims   all   warranties,   expressed  or 
  413.        implied,   including  but  not  limited  to  implied  warranties  of 
  414.        merchantability  and  fitness  for a particular purpose with respect 
  415.        to  defects  in  the  software  and  documentation,  and the program 
  416.        license   granted   herein   in  particular,  and  without  limiting 
  417.        operation  of  the  program  license  with respect to any particular 
  418.        application,   use, or  purpose.  In  no event shall XWARE be liable 
  419.        for  any  loss  of  profit  or  damage, including but not limited to 
  420.        special,  incidental, or consequential damages. This statement shall 
  421.        be  construed, interpreted, and governed by the laws of the State of 
  422.        Alaska. 
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.                        _____________________________________________________
  463.                        XPATH is a registered trandemark of XWARE Development
  464.          Page 8                                               copyright 1991
  465.