home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / p / pathm27.zip / PM27.DOC < prev    next >
Text File  |  1993-02-21  |  18KB  |  561 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.         ╓──────╖         ──╖
  7.         ║      ║           ╟──╖
  8.         ╟──────╜           ║  ╟──╖
  9.         ║ ╓──╥ ──╥── ╖  ╓  ║  ║  ║ ╓──╥   ╓── ──╥── ╓── ╓──╖
  10.         ║ ║  ║   ║   ╟──╢  ║  ║  ║ ║  ║   ║     ║   ╟── ╟─┬╜  2.7
  11.         ║ ╙──╨   ╙   ╜  ╙  ╜  ╙  ╙ ╙──╨ ──╜     ╙   ╙── ║ │
  12.                 ────────────────────────────────────────╜ ╘═
  13.  
  14.  
  15.  
  16.                *-*  The Ultimate Path Utility *-*
  17.                         David Smith, 1993
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27. -------  WHAT'S NEW 2.7 -----------------------------------------------
  28.  
  29.         EXTREMELY Fast execution.
  30.  
  31.         ADVANCED information on the Path    ( /INFO )
  32.  
  33.         Graph and statistical data on the current environment,
  34.         including how much is used, free, and a bar graph
  35.         displaying this info.               ( /SIZE )
  36.  
  37.  
  38.         ENVIRONMENTAL variables:
  39.  
  40.   *-----------------------------------REGISTERED VERSION ONLY------*
  41.   |  TURBO         *Extremely* fast operation                      |
  42.   |  REPL          Replace one dir with another                    |
  43.   |  CONFIG        Modify CONFIG.SYS for environment stretching    |
  44.   |  NFILE         No configuration file in root directory         |
  45.   |  BOTH          Set both the Master and Active Environments     |
  46.   |  DESIGN3       Show Design #3 as Window Background             |
  47.   |  DESIGN4       Show Design #4 as Window Background             |
  48.   |  DESIGN5       Show Design #5 as Window Background             |
  49.   *----------------------------------------------------------------*
  50.  
  51.        ACTIVE        Use Active Environment
  52.        MONO          Use Monochrome Screen Writes
  53.        SHOPATH       Show New Path on Exit
  54.        SHOSTAT       Show Statistics on Exit
  55.        CLRSCR        Clear Screen After Exit
  56.        DESIGN1       Show Design #1 as Window Background
  57.        DESIGN2       Show Design #2 as Window Background
  58.        SOUND         Enable Sounds
  59.        NEXIST        Don't Check Dir Before Adding
  60.        NMOUSE        Disable Mouse
  61.  
  62.  
  63.  
  64.         Add Directory to end or beginning of Path.
  65.  
  66.         Delete directory with window.
  67.  
  68.         Authenticity check of directory before delete or add.
  69.  
  70.         Put path in active vs. master environment.
  71.  
  72. -----------------------------------------------------------------------
  73.  
  74.  
  75.  
  76.  
  77.  
  78.   WHAT IS PATH MASTER ?
  79.  
  80.         Changing your path is a pain.  Mainly because you must type
  81. the ENTIRE thing in from scratch, or make 20 different batch files
  82. that change your path that clutter up your hard drive.
  83.  
  84.  
  85.     PATH MASTER solves this by allowing you to:
  86.  
  87.         1) Choose your path from a menu.
  88.  
  89.         2) Totally configure your menu, and change a path quickly
  90.            and easily.
  91.  
  92.         3) Add or delete a directory from the path.
  93.  
  94.         4) Change your path on the command line.
  95.  
  96.         5) Use your mouse to control PATHMASTER
  97.  
  98.         6) Learn about the PATH, how it works, and how
  99.            to both expand and locate it.
  100.  
  101.         7) Showing you exactly how much environment you
  102.            have left, and how much has been used.
  103.  
  104.         8) Allow setting preferences in environmental
  105.            variable.
  106.  
  107.  
  108.  
  109.  
  110. ==== HOW TO OPERATE PATH MASTER ===============================================
  111.  
  112.         To begin, you must configure your favorite paths into the
  113.         configuration file that will be stored in your root
  114.         directory.
  115.  
  116.         Type: PM /E         {edit the configurations}
  117.  
  118.         You have 20 blanks that you may enter paths into.  To move around,
  119.         press [ENTER] after typing a path, or use the arrow keys.
  120.         Regular editing keys are valid in EDIT mode:
  121.         HOME, END, INSERT, DELETE, PgUp, PgDn, ENTER, BACKSPACE
  122.  
  123.         Examples of a valid paths:
  124.  
  125.         C:\DOS;C:\UTILS;C:\TURBO\BIN\INCLUDE
  126.         C:\UTILS
  127.         A:\DOS;C:\PCPLUS;C:\WP51
  128.         D:\STACKER;C:\DOS
  129.  
  130.         (Notice that a valid path consists of NO SPACES, a semicolon
  131.          between the directories, and does NOT include the "PATH="
  132.          statement.)
  133.  
  134.         Fill it up with up to 20 configurations, then press [F10] to
  135.         save and quit.
  136.  
  137.                 Press [F1] for a help screen.
  138.  
  139.         If you are using a MOUSE, ensure your mouse driver is installed,
  140.         and move your mouse up and down to choose from the menu or move
  141.         around the configuration editor.  Press the LEFT button to select
  142.         an item, or press the RIGHT button to escape PathMaster.
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150. ==== USING THE MENU INTERFACE =================================================
  151.  
  152.         Once you're configured, just type: PM    to pull up the
  153.         menu.  Use UP/DOWN arrows, PgUp, PgDn, Home, End to move
  154.         around, then press [ENTER] to choose a new path.
  155.  
  156.         Press [F1] for a help screen.
  157.  
  158.  
  159.  
  160.  
  161.  
  162. ==== USING OTHER OPTIONS ======================================================
  163.  
  164.         On the command line, if you want to remove a directory
  165.         from your path, type: PM /DEL
  166.  
  167.         If you want to add a directory to the END of your
  168.         current path, type: PM /AE
  169.  
  170.         If you want to add a directory to the BEGINNING of your
  171.         current path, type: PM /AB
  172.  
  173.         For a listing of the current path, type: PM /S
  174.  
  175.         To place the path in the Active Environment, instead of
  176.         the Master Environment, type: PM /ACT
  177.  
  178.         To create a totally new path, type: PM [path]
  179.  
  180.                 Press [F1] for a help screen.
  181.  
  182.         To see advanced information on the PATH, how it works,
  183.         how to alter and expand it, etc.  use the /INFO switch.
  184.         This pulls up 15 pages of graphical information.
  185.                 Use up/down arrows or PageUp/PageDown keys
  186.                 to move around the info.  When you are done
  187.                 reading, press [ESC] to exit.
  188.  
  189.         To see the current environment, how much you have used,
  190.         how much free, and a bar graph showing this information,
  191.         use the /SIZE switch.  A box will appear containing this
  192.         stuff, along with the HEX address of the start of your
  193.         current environment.
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202. ==== WHAT IS A "PATH" ? =======================================================
  203.  
  204.         A path is a list of directories that DOS uses to search
  205.         for files that are not in the current directory.
  206.  
  207.         For example, if I am in the C:\DOS directory, and want to
  208.         use PKZIP.EXE to compress a couple of files, then PKZIP.EXE
  209.         would have to be in the current directory.
  210.  
  211.         BUT, if I have PKZIP.EXE in my C:\UTILS directory, then I
  212.         can just type: PATH=C:\UTILS and dos will look in that
  213.         directory in addition to the current one to find PKZIP.EXE.
  214.  
  215.     NOTE: Data files are not included in the search.  DOS only searches
  216.           for executable files (with extension .EXE or .COM).  If that
  217.           executable file needs a data file somewhere other than the
  218.           current directory, it will NOT FIND IT, because DOS tricks
  219.           the executable file into thinking it is in your current directory.
  220.  
  221.  
  222.    So Why Not Just Include ALL My Directories In My Path ????
  223.  
  224.         Because DOS looks through all the directories in your path
  225.       to find a file, it can eat up your hard disk and take forever
  226.       to run a program.
  227.         Including all your regular utilities into one MAIN directory
  228.       reduces the time DOS takes to find files, and saves your hard
  229.       disk from unnecessary use.
  230.  
  231.  
  232.  
  233. == Why Do I Need More Than One Path ??? =======================================
  234.  
  235.         When I compile programs, I need my path to include my Turbo C++
  236.       directory, and my Turbo Assembler directory, and also my Utilities
  237.       dir.
  238.         So when programming, I use:
  239.  
  240.                 PATH=C:\TURBO\BIN;C:\UTILS;C:\DOS;C:\TASM
  241.  
  242.         When I use Turbo Pascal, I need the Toolbox directory, the Turbo
  243.       Pascal directory, and of course my utils:
  244.  
  245.                 PATH=C:\UTILS;C:\DOS;C:\TP\TOOLBOX;C:\TP
  246.  
  247.         But when downloading a file from the local BBS, I need my Procomm
  248.       Plus directory, my B: drive (my SCAN program is there), and my
  249.       downloading directory.
  250.  
  251.                 PATH=C:\DOS;C:\;B:\;D:\PCPLUS;C:\DOWNLOAD
  252.  
  253.         Do you see the conflict ?   Without Path Master, I was using
  254.       12 batch files to do all the work.
  255.  
  256.  
  257.  
  258. ==== WHAT IS THE "ACTIVE" AND "MASTER" ENVIRONMENTS ? =========================
  259.  
  260.         When you first turn on your computer, a line is usually included
  261.         in your CONFIG.SYS that says:
  262.                 SHELL=C:\DOS\COMMAND.COM /P
  263.         or      COMSPEC=C:\DOS\COMMAND.COM
  264.  
  265.         This tells DOS that COMMAND.COM will be used as your command
  266.         processor.  So now, when you type: DIR, the directory command
  267.         is extracted from COMMAND.COM and run.
  268.  
  269.         COMMAND.COM contains a space in itself for the Environment.
  270.         These are variables set by you to determine your preferences.
  271.         The Environment holds things like:
  272.                 ■  Your Path
  273.                 ■  Your Prompt
  274.                 ■  Preferences for other programs (like Norton Backup)
  275.  
  276.         You set these things by typing: SET [variable]=[your preference]
  277.         on the command line.
  278.  
  279.         The MASTER Environment is the COMMAND.COM space that is run when
  280.         you first boot up.  Sometimes in your PC dealings, you may want
  281.         to shell out of a program (like Windows).  When you do this,
  282.         you call COMMAND.COM again, and set up a new Environment.
  283.                 This is the ACTIVE environment.
  284.  
  285.         When you shell out, COMMAND.COM copies its environmental space
  286.         into the new COMMAND.COM space.  However, if you change a setting
  287.         (like your Path), the change is only temporary.
  288.                 Because after you exit back into the program your were
  289.         originally in (Windows), by typing: EXIT, the temporary settings
  290.         are lost, and the old Environmental space is used again.
  291.  
  292.  
  293.         Try this experiment:
  294.  
  295.         1   Type: SET PATH=C:\DOS;C:\MASTERPATH   (be sure to include
  296.                                                    the DOS directory)
  297.             You have changed your path to a new one, that includes
  298.             our key-word MASTERPATH.  This will soon dissapear.
  299.  
  300.  
  301.         2         COMMAND.COM               (this won't work unless you
  302.                                              include the directory that
  303.                                              COMMAND.COM is in on line 1)
  304.             A new environment has been started.  It is a copy of the
  305.             Master environment, but overlaps the Master one.  So that
  306.             any changes made to your new environment are only temporary.
  307.  
  308.  
  309.         3        SET
  310.  
  311.             Note the PATH= statement at the bottom.
  312.  
  313.  
  314.         4        PATH=ACTIVE_PATH
  315.  
  316.             We changed the Path to Active_Path.  But this change lasts
  317.             only as long as our new COMMAND.COM is active.
  318.  
  319.  
  320.         5        SET
  321.  
  322.             See our new Path at the bottom?  It is now "ACTIVE_PATH".
  323.  
  324.  
  325.        6         EXIT
  326.  
  327.             We now exited our new COMMAND.COM, and have returned to
  328.             the Master Environment. All the changes to our Active
  329.             Environment have dissapeared.
  330.  
  331.  
  332.        7         SET
  333.  
  334.            See our Path?  It's now back to the original one we
  335.            typed at the beginning.  We have returned to the
  336.            Master Environment.
  337.  
  338.  
  339.  
  340.  
  341.  
  342. ====== COMPARISON TO OTHER UTILITIES ==========================================
  343.  
  344.         Compared to other path utils, Path Master blows them away!
  345. Nothing else loads you up with options like these.  Graphical interface,
  346. advanced information, totally re-configure a path, choose from 20
  347. configurations and so much more.
  348.  
  349.         I looked on 27 BBS' including CompuServe, 14 ShareWare CD Roms
  350. and asked around, and only found 3 utils that come close (I had to
  351. eliminate the ones that just added and deleted directories):
  352.  
  353.         PathTool        New World Designs
  354.         PathUtil        ??
  355.         PathEditor      Ray Dittmeier
  356.         SetPath         Donald E. Ekman
  357.  
  358.         Here is a comparison of features:
  359.  
  360.                            ┌ PATHMASTER
  361.                            │   ┌ PathTool
  362.                            │   │   ┌ PathEditor
  363.                            │   │   │   ┌ SetPath
  364.                            │   │   │   │
  365.        ┌─────────────────┬───┬───┬───┬───┐
  366.        │Graphical menu   │ X │   │   │   │
  367.        ├─────────────────┼───┼───┼───┼───┤
  368.        │Multiple configs │ X │   │   │   │
  369.        ├─────────────────┼───┼───┼───┼───┤
  370.        │Both Active and  │ X │ X │   │ X │
  371.        │Master environ.  │   │   │   │   │
  372.        ├─────────────────┼───┼───┼───┼───┤
  373.        │Mouse support    │ X │   │   │   │
  374.        ├─────────────────┼───┼───┼───┼───┤
  375.        │Add path         │ X │ X │ X │ X │
  376.        ├─────────────────┼───┼───┼───┼───┤
  377.        │Delete path      │ X │ X │ X │ X │
  378.        ├─────────────────┼───┼───┼───┼───┤
  379.        │Add to end/begin │ X │ X │   │ X │
  380.        ├─────────────────┼───┼───┼───┼───┤
  381.        │Sound effects    │ X │   │   │   │
  382.        ├─────────────────┼───┼───┼───┼───┤
  383.        │Modify config.sys│ X │   │   │   │
  384.        ├─────────────────┼───┼───┼───┼───┤
  385.        │Stretch environ  │ X │ X │   │   │
  386.        │if needed        │   │   │   │   │
  387.        ├─────────────────┼───┼───┼───┼───┤
  388.        │Run-time advanced│ X │   │   │   │
  389.        │path info.       │   │   │   │   │
  390.        └─────────────────┴───┴───┴───┴───┘
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399. ===== REGISTRATION ============================================================
  400.  
  401.  
  402.         There are two registration options:
  403.  
  404.         1) $10.00 registers Path Master, gets you the *special* version
  405.            including lots of options not available otherwise.
  406.            This allows unlimited upgrades to Path Master, and free
  407.            technical support by mail or by CompuServe.
  408.  
  409.         2) $20.00 gets you the Dave Utils disk.  See the enclosed
  410.            CATALOG.EXE file for details.  This also gets you the updated
  411.            PathMaster, unlimited upgrades and technical support as
  412.            described above.
  413.            You also get over 30 more utils, and unlimited upgrades on
  414.            those also, new information about other stuff I create, etc.
  415.  
  416.  
  417.  
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425. = EXAMPLES ====================================================================
  426.  
  427.  
  428.         PM /E
  429.  
  430.   Edits the current configuration file.
  431.  
  432.  
  433.         PM /AE
  434.  
  435.   Pulls up a window and prompts you to add a directory
  436.   to the current path.  It will be added to the END
  437.   of the path.
  438.  
  439.  
  440.         PM /AB
  441.  
  442.   Pulls up a window and prompts you to add a directory
  443.   to the current path.  It will be added to the BEGINNING
  444.   of the path.
  445.  
  446.  
  447.         PM /DEL
  448.  
  449.   Pulls up a window and prompts you to delete a directory
  450.   in the current path.
  451.  
  452.  
  453.         PM C:\DOS;A:\TP\TOOLBOX
  454.  
  455.   Creates a new path that consists of c:\dos and a:\tp\toolbox
  456.   directories.
  457.  
  458.  
  459.         PM /?
  460.  
  461.   Shows the help screen.
  462.  
  463.  
  464.         PM /S
  465.  
  466.   Displays current path on the screen.
  467.  
  468.  
  469.         PM /INFO
  470.  
  471.    Shows fifteen pages of useful information concerning the Path
  472.    and advanced items that allow you to expand your environment
  473.    and better understand how your computer works.
  474.  
  475.  
  476.         PM /SIZE
  477.  
  478.    Displays a bar graph of how much space you have used in your
  479.    environment, the hex address of the current environment's
  480.    beginnings, and other useful stuff.
  481.  
  482.  
  483.         PM /ACT
  484.  
  485.    Pulls up the path menu as usual, but adds the selected path
  486.    to the Active Environment (see above details about Active
  487.    and Master Environments).
  488.  
  489.  
  490.         To use the environmental variable PM, use the following
  491.         format:
  492.  
  493.         SET PM= [your preference]
  494.  
  495.         You can put this line in your AUTOEXEC.BAT, or create a
  496.         batch file called P.BAT that contains the following
  497.         lines:
  498.  
  499.         SET PM= [your preference]
  500.         PM.EXE
  501.  
  502.         That way, whenever you start PathMaster, your preferences
  503.         will already be set.
  504.  
  505.  
  506. USAGE:  SET PM=[preference],[preference],[preference],  ...
  507.  
  508.  
  509. EXAMPLES:       SET PM=MONO,SOUND,DESIGN1
  510.  
  511.         Sets monochrome ability, enables sound and uses Design1
  512.         as your background for window operation.
  513.  
  514.                 SET PM=SOUND,ACTIVE,NMOUSE,SHOPATH
  515.  
  516.         Enables sound, writes new path into Active Environment,
  517.         disables mouse, and shows new path on exit.
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524. ===== TECHNICAL NOTES =========================================================
  525.  
  526.         Path Master works by scanning the PSP of COMMAND.COM, locating
  527.         the environment segment, then altering it.
  528.         The Active environment is affected by stuffing the keyboard
  529.         buffer with a batch file that changes the environment.
  530.  
  531.         I have tried this technique (with success) on 9 different
  532.         machines, all of which worked fine.  There may, however,
  533.         be bugs when running with some systems.
  534.  
  535.         If you find a bug, or lock up this program, please report
  536.         it to me by:
  537.  
  538.         COMPUSERVE      71441,2723
  539.  
  540.         by Mail:        David Smith
  541.                        1104 Mason Dr.
  542.                        Hurst TX 76053
  543.  
  544.         If you find a verifiable bug, please report it so that I can
  545.         fix it.
  546.  
  547.  
  548.  
  549.  
  550.  
  551.  
  552.  
  553.  
  554.  
  555.  
  556.   A GREAT DEAL !
  557.  
  558.         See the included CATALOG.EXE to order Dave's Disk full of
  559.         Utilities.  For only $20.00, it's a definite bargain !
  560.  
  561.