home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / UTILITY / SYSTEM / XPATH21.ZIP / README.XP next >
Encoding:
Text File  |  1991-04-30  |  11.3 KB  |  343 lines

  1.  
  2.  
  3.  
  4.  
  5.                              XPATH Version 2.1
  6.                              -----------------
  7.  
  8.          Have you ever tried to set your path longer than  119 characters? 
  9.          Without XPATH, or a similar product, it just can't be done.  The
  10.          reason is that you cannot type more than 128 characters at the
  11.          prompt.  Even if you create a BAT file where you can type more than
  12.          128 characters on a line, you cannot set your path past 119
  13.          characters because the command interpreter will not read past the
  14.          128th column of you BAT file.  
  15.  
  16.          This problem is solved when you use XPATH.  With XPATH, you create
  17.          a file that contains 1 line for each directory you want in your
  18.          path.  You then simply execute XPATH, specifying the file that
  19.          contains the directories you want in your path.
  20.  
  21.          For example, say you want your path to look like this:
  22.  
  23.          c:\;c:\dos;c:\util;c:\util\rexx20\pgms;c:\windows;c:\windows\excel
  24.  
  25.          You create an ASCII (text) file that looks like this:
  26.  
  27.          c:\
  28.          c:\dos
  29.          c:\util
  30.          c:\util\rexx20
  31.          c:\util\rexx20\pgms
  32.          c:\windows
  33.          c:\windows\excel
  34.  
  35.          Save the file giving any name you wish.  Let's say you name it
  36.          PATH.TXT.  You would then create your path by executing the XPATH
  37.          command as follows:
  38.  
  39.          XPATH PATH.TXT
  40.  
  41.          The above format assumes that PATH.TXT is in your current directory
  42.          and XPATH.EXE is in your current path or current directory.
  43.  
  44.          If the file containing the directories you want in your path is not
  45.          in your current directory when you execute XPATH, you can specify
  46.          where the file is in the following way:
  47.  
  48.          XPATH C:\DATA\PATH.TXT
  49.  
  50.          That is how you would do it if your path file is called PATH.TXT
  51.          and is in a sub-directory on C called DATA.
  52.  
  53.  
  54.  
  55.  
  56.                        _____________________________________________________
  57.                        XPATH is a registered trandemark of XWARE Development
  58.          Page 1                                               copyright 1991
  59.  
  60.  
  61.          Possible problems
  62.          -----------------
  63.  
  64.          The only reason you would want to use XPATH is because you want a
  65.          path longer than 119 characters.  So, after using XPATH, if you type
  66.          the PATH command to display your path, you will see that your path is
  67.          longer than 119 characters.  My path is 197 characters. When I run
  68.          the setup program for the text-editor I use (BRIEF), it tries to
  69.          insert d:\brief into my path.  At the time it does this, it is a
  70.          little confused because it sees my path is longer than 119
  71.          characters.  It issues a warning message that says my path is too
  72.          long, but no problems occur.
  73.  
  74.          Anytime you run an install program that puts a path command in your
  75.          autoexec.bat file, you will have to take that path command out and
  76.          put that path in your path file that you use when you execute XPATH.  
  77.  
  78.          Some programs that read your path could have a problem with a path
  79.          longer than 119 characters.  Some programs may stop searching the
  80.          path after the 119th character, or even blow up when they find that
  81.          your path is larger than 119 characters.  I have not encountered this
  82.          problem.  Let me know if you do.
  83.  
  84.  
  85.          Future versions of XPATH
  86.          ------------------------
  87.  
  88.          You now have XPATH version 2.1.  We are currently working on version
  89.          3.0 which will allow you add to your path on the fly.  For example,
  90.          if you wanted to add C:\WING to your path, you would simply type
  91.  
  92.          XPATH C:\WING ADD
  93.  
  94.          This would append C:\WING to the end of your path.
  95.  
  96.  
  97.          Registering XPATH
  98.          -----------------
  99.  
  100.          You have an evaluation copy of XPATH.  Please register it by sending
  101.          $15.00 to:
  102.  
  103.                    XWARE Development
  104.                    4719 Malibu Road  Suite #1
  105.                    Anchorage, Alaska  99517
  106.  
  107.                    phone: (907) 243-5052
  108.  
  109.          By registering your copy of XPATH, you will be sent the latest
  110.          version which will not have the 20 second pause in it.  You will be
  111.          entitled to free technical support, and you will get future versions
  112.          of XPATH at a reduced cost.
  113.  
  114.                        _____________________________________________________
  115.                        XPATH is a registered trandemark of XWARE Development
  116.          Page 2                                               copyright 1991
  117.  
  118.  
  119.  
  120.  
  121.  
  122.          ENVIRONMENT SIZE PROBLEMS
  123.          -------------------------
  124.  
  125.          If you get the message "Out of Environment space" when
  126.          using XPATH, this means you need to allocate more
  127.          environment space.  If you have this problem when opening a
  128.          DOS window under windows, skip to the next section.  If you
  129.          have this problem when running XPATH from your AUTOEXEC.BAT
  130.          file, then you need to increase your environment size by
  131.          adding the following line to your config.sys file:
  132.  
  133.  
  134.          shell = c:\command.com c:\ /p /e:640
  135.  
  136.  
  137.          The /e:640 in the above line tells DOS to allocate 640
  138.          bytes to your environmet.  You may need to use a larger
  139.          number if you have a lot of SETS in your AUTOEXEC.BAT file,
  140.          or if you have a lot of directories in your XPATH directory
  141.          file.  The above command assumes you are booting from a 
  142.          hard drive who's name is 'C'.
  143.  
  144.  
  145.          *********
  146.          WARNING: 
  147.          *********
  148.  
  149.          The shell command also tells DOS where your command.com
  150.          file is located.  If you specify a location where
  151.          command.com does NOT exsist, your PC will not boot up off
  152.          the hard drive.  If this happens, you will have to boot
  153.          from diskette and correct the problem in your config.sys
  154.          file.  
  155.  
  156.          DOS Compatability
  157.          _________________
  158.  
  159.          XPATH was written under DOS 3.30.  It is not compatable
  160.          with DOS versions prior to 3.30.  I have not tested it
  161.          DOS 4.x.  Let me know if you have problems and you are 
  162.          using DOS 4.x.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.                        _____________________________________________________
  172.                        XPATH is a registered trandemark of XWARE Development
  173.          Page 3                                               copyright 1991
  174.  
  175.  
  176.          INCREASEING ENVIRONMENT SIZE FOR A WINDOWS'S DOS WINDOW:
  177.          --------------------------------------------------------
  178.  
  179.          To increase your environment size for a DOS window under
  180.          Window's, you set up a PIF as follows:
  181.  
  182.          - Click on "Close window on exit" (turn it on).
  183.          - Program Filename:     COMMAND.COM
  184.          - Optional Parameters:  /E:640 /C C:\BAT\XPATHWIN.BAT
  185.  
  186.          The /E:640 allocates 640 bytes to your environment.  You
  187.          can increase or decrease this if you wish.  The /C says the
  188.          the following filename is a BAT file to be executed.  You
  189.          can use any filename you wish.  The bat file you execute
  190.          should execute XPATH as well as any other commands you wish
  191.          to execute.  Also, the last line in the bat file must
  192.          execute command.com again.  This will keep your dos window
  193.          from immediatly returning to windows when the bat file is
  194.          finished executing.  An example of a bat file for a DOS
  195.          window that executes xpath is:
  196.  
  197.          ECHO OFF
  198.          ECHO Setting path...
  199.          C:
  200.          CD \UTILS
  201.          XPATH C:\DATA\PATH.DAT
  202.          COMMAND.COM /E:640
  203.  
  204.          Why the /E:640 on the last line even though we already
  205.          specified /E:640 in the PIF? Well, the /E:640 in the PIF
  206.          gives 640 bytes of environment space for the bat file to
  207.          use.  The bat file uses it, but then the last thing the
  208.          bat file does is to load a new command environment.  When
  209.          this occurs, the environment variables from the old command
  210.          environment are copied to the new command environment. 
  211.          Thus, the new command evironment needs at least as much
  212.          environment space as was specified in the PIF.
  213.  
  214.          If you have problems setting your path in a DOS window
  215.          under Windows, you can set it before you enter windows, and
  216.          all DOS windows will recognize it.
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.                        _____________________________________________________
  228.                        XPATH is a registered trandemark of XWARE Development
  229.          Page 4                                               copyright 1991
  230.  
  231.  
  232.          License Agreement
  233.          -----------------
  234.  
  235.          You are entitled to use the evaluation copy of XPATH for evaluation
  236.          purposes only.  Use this registration form to purchase a copy of
  237.          XPATH should you decide to continue to use it.  Purchasing a copy of
  238.          XPATH entitles you to use it on one machine.
  239.  
  240.  
  241.          +-----------------+
  242.          :REGISTRATION FORM:
  243.          +-----------------+
  244.  
  245.  
  246.  
  247.  
  248.          Company name: __________________________________________________
  249.  
  250.          Your name:    __________________________________________________
  251.  
  252.          Address:      __________________________________________________
  253.  
  254.                        __________________________________________________
  255.  
  256.                        __________________________________________________
  257.  
  258.  
  259.  
  260.          No. of copies:  _____       (enclose $15 per copy)
  261.  
  262.  
  263.          Amount enclose: __________
  264.  
  265.  
  266.          Make checks payable to XWARE Development.
  267.  
  268.          Sent to:  XWARE Development
  269.                    4719 Malibu Road  Suite #1
  270.                    Anchorage, Alaska  99517
  271.  
  272.                    phone: (907) 243-5052
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.                        _____________________________________________________
  286.                        XPATH is a registered trandemark of XWARE Development
  287.          Page 5                                               copyright 1991
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.                                  XWARE Disclaimer
  303.        
  304.        XWARE   specifically   disclaims   all   warranties,   expressed  or 
  305.        implied,   including  but  not  limited  to  implied  warranties  of 
  306.        merchantability  and  fitness  for a particular purpose with respect 
  307.        to  defects  in  the  software  and  documentation,  and the program 
  308.        license   granted   herein   in  particular,  and  without  limiting 
  309.        operation  of  the  program  license  with respect to any particular 
  310.        application,   use, or  purpose.  In  no event shall XWARE be liable 
  311.        for  any  loss  of  profit  or  damage, including but not limited to 
  312.        special,  incidental, or consequential damages. This statement shall 
  313.        be  construed, interpreted, and governed by the laws of the State of 
  314.        Alaska. 
  315.        
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340.                        _____________________________________________________
  341.                        XPATH is a registered trandemark of XWARE Development
  342.          Page 6                                               copyright 1991
  343.