home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
- XPATH Version 2.1
- -----------------
-
- Have you ever tried to set your path longer than 119 characters?
- Without XPATH, or a similar product, it just can't be done. The
- reason is that you cannot type more than 128 characters at the
- prompt. Even if you create a BAT file where you can type more than
- 128 characters on a line, you cannot set your path past 119
- characters because the command interpreter will not read past the
- 128th column of you BAT file.
-
- This problem is solved when you use XPATH. With XPATH, you create
- a file that contains 1 line for each directory you want in your
- path. You then simply execute XPATH, specifying the file that
- contains the directories you want in your path.
-
- For example, say you want your path to look like this:
-
- c:\;c:\dos;c:\util;c:\util\rexx20\pgms;c:\windows;c:\windows\excel
-
- You create an ASCII (text) file that looks like this:
-
- c:\
- c:\dos
- c:\util
- c:\util\rexx20
- c:\util\rexx20\pgms
- c:\windows
- c:\windows\excel
-
- Save the file giving any name you wish. Let's say you name it
- PATH.TXT. You would then create your path by executing the XPATH
- command as follows:
-
- XPATH PATH.TXT
-
- The above format assumes that PATH.TXT is in your current directory
- and XPATH.EXE is in your current path or current directory.
-
- If the file containing the directories you want in your path is not
- in your current directory when you execute XPATH, you can specify
- where the file is in the following way:
-
- XPATH C:\DATA\PATH.TXT
-
- That is how you would do it if your path file is called PATH.TXT
- and is in a sub-directory on C called DATA.
-
-
-
-
- _____________________________________________________
- XPATH is a registered trandemark of XWARE Development
- Page 1 copyright 1991
-
-
- Possible problems
- -----------------
-
- The only reason you would want to use XPATH is because you want a
- path longer than 119 characters. So, after using XPATH, if you type
- the PATH command to display your path, you will see that your path is
- longer than 119 characters. My path is 197 characters. When I run
- the setup program for the text-editor I use (BRIEF), it tries to
- insert d:\brief into my path. At the time it does this, it is a
- little confused because it sees my path is longer than 119
- characters. It issues a warning message that says my path is too
- long, but no problems occur.
-
- Anytime you run an install program that puts a path command in your
- autoexec.bat file, you will have to take that path command out and
- put that path in your path file that you use when you execute XPATH.
-
- Some programs that read your path could have a problem with a path
- longer than 119 characters. Some programs may stop searching the
- path after the 119th character, or even blow up when they find that
- your path is larger than 119 characters. I have not encountered this
- problem. Let me know if you do.
-
-
- Future versions of XPATH
- ------------------------
-
- You now have XPATH version 2.1. We are currently working on version
- 3.0 which will allow you add to your path on the fly. For example,
- if you wanted to add C:\WING to your path, you would simply type
-
- XPATH C:\WING ADD
-
- This would append C:\WING to the end of your path.
-
-
- Registering XPATH
- -----------------
-
- You have an evaluation copy of XPATH. Please register it by sending
- $15.00 to:
-
- XWARE Development
- 4719 Malibu Road Suite #1
- Anchorage, Alaska 99517
-
- phone: (907) 243-5052
-
- By registering your copy of XPATH, you will be sent the latest
- version which will not have the 20 second pause in it. You will be
- entitled to free technical support, and you will get future versions
- of XPATH at a reduced cost.
-
- _____________________________________________________
- XPATH is a registered trandemark of XWARE Development
- Page 2 copyright 1991
-
-
-
-
-
- ENVIRONMENT SIZE PROBLEMS
- -------------------------
-
- If you get the message "Out of Environment space" when
- using XPATH, this means you need to allocate more
- environment space. If you have this problem when opening a
- DOS window under windows, skip to the next section. If you
- have this problem when running XPATH from your AUTOEXEC.BAT
- file, then you need to increase your environment size by
- adding the following line to your config.sys file:
-
-
- shell = c:\command.com c:\ /p /e:640
-
-
- The /e:640 in the above line tells DOS to allocate 640
- bytes to your environmet. You may need to use a larger
- number if you have a lot of SETS in your AUTOEXEC.BAT file,
- or if you have a lot of directories in your XPATH directory
- file. The above command assumes you are booting from a
- hard drive who's name is 'C'.
-
-
- *********
- WARNING:
- *********
-
- The shell command also tells DOS where your command.com
- file is located. If you specify a location where
- command.com does NOT exsist, your PC will not boot up off
- the hard drive. If this happens, you will have to boot
- from diskette and correct the problem in your config.sys
- file.
-
- DOS Compatability
- _________________
-
- XPATH was written under DOS 3.30. It is not compatable
- with DOS versions prior to 3.30. I have not tested it
- DOS 4.x. Let me know if you have problems and you are
- using DOS 4.x.
-
-
-
-
-
-
-
-
- _____________________________________________________
- XPATH is a registered trandemark of XWARE Development
- Page 3 copyright 1991
-
-
- INCREASEING ENVIRONMENT SIZE FOR A WINDOWS'S DOS WINDOW:
- --------------------------------------------------------
-
- To increase your environment size for a DOS window under
- Window's, you set up a PIF as follows:
-
- - Click on "Close window on exit" (turn it on).
- - Program Filename: COMMAND.COM
- - Optional Parameters: /E:640 /C C:\BAT\XPATHWIN.BAT
-
- The /E:640 allocates 640 bytes to your environment. You
- can increase or decrease this if you wish. The /C says the
- the following filename is a BAT file to be executed. You
- can use any filename you wish. The bat file you execute
- should execute XPATH as well as any other commands you wish
- to execute. Also, the last line in the bat file must
- execute command.com again. This will keep your dos window
- from immediatly returning to windows when the bat file is
- finished executing. An example of a bat file for a DOS
- window that executes xpath is:
-
- ECHO OFF
- ECHO Setting path...
- C:
- CD \UTILS
- XPATH C:\DATA\PATH.DAT
- COMMAND.COM /E:640
-
- Why the /E:640 on the last line even though we already
- specified /E:640 in the PIF? Well, the /E:640 in the PIF
- gives 640 bytes of environment space for the bat file to
- use. The bat file uses it, but then the last thing the
- bat file does is to load a new command environment. When
- this occurs, the environment variables from the old command
- environment are copied to the new command environment.
- Thus, the new command evironment needs at least as much
- environment space as was specified in the PIF.
-
- If you have problems setting your path in a DOS window
- under Windows, you can set it before you enter windows, and
- all DOS windows will recognize it.
-
-
-
-
-
-
-
-
-
-
- _____________________________________________________
- XPATH is a registered trandemark of XWARE Development
- Page 4 copyright 1991
-
-
- License Agreement
- -----------------
-
- You are entitled to use the evaluation copy of XPATH for evaluation
- purposes only. Use this registration form to purchase a copy of
- XPATH should you decide to continue to use it. Purchasing a copy of
- XPATH entitles you to use it on one machine.
-
-
- +-----------------+
- :REGISTRATION FORM:
- +-----------------+
-
-
-
-
- Company name: __________________________________________________
-
- Your name: __________________________________________________
-
- Address: __________________________________________________
-
- __________________________________________________
-
- __________________________________________________
-
-
-
- No. of copies: _____ (enclose $15 per copy)
-
-
- Amount enclose: __________
-
-
- Make checks payable to XWARE Development.
-
- Sent to: XWARE Development
- 4719 Malibu Road Suite #1
- Anchorage, Alaska 99517
-
- phone: (907) 243-5052
-
-
-
-
-
-
-
-
-
-
-
-
- _____________________________________________________
- XPATH is a registered trandemark of XWARE Development
- Page 5 copyright 1991
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- XWARE Disclaimer
-
- XWARE specifically disclaims all warranties, expressed or
- implied, including but not limited to implied warranties of
- merchantability and fitness for a particular purpose with respect
- to defects in the software and documentation, and the program
- license granted herein in particular, and without limiting
- operation of the program license with respect to any particular
- application, use, or purpose. In no event shall XWARE be liable
- for any loss of profit or damage, including but not limited to
- special, incidental, or consequential damages. This statement shall
- be construed, interpreted, and governed by the laws of the State of
- Alaska.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- _____________________________________________________
- XPATH is a registered trandemark of XWARE Development
- Page 6 copyright 1991