		      
		      
		      
		      
		      
		      
		      
		      
		      
		      
		      
		      
		      
		      
		      

                    Change Directory Quick Version 3.10
                                    CDQ
                               User's Manual



                         Copyright (c) March 1998 by
                             Brian J. Daugherty
                            All Rights Reserved



                               Brian Daugherty
                               541 10th Street
                            Oakmont, PA 15139-1113

                                    EMAIL
                             briandoc@webboyz.com

                                   HomePage
                      http://www.webboyz.com/software/cdq


                       Written using Borland Pascal v7.0




       CDQ  v3.10                  Warranty                       1

    W A R R A N T Y
    ______________________________________________________________________


    CDQ  is  provided AS IS without any warranty, expressed or implied.
    This  includes  without  limitation  the  fitfulness  to  a particular
    purpose or application,  that software operation will be uninterrupted
    or error free, and any warranties of merchantability.

    While I have tried to be as thorough as possible while debugging CDQ,
    I  shall not  be liable  for any  damages,  whether direct,  indirect,
    special,  or consequential  arising from a  failure of this program or
    accompanying  files to  operate in a  manner desired by the  user.   I
    shall not be liable for any damage to  data or property which may have
    been caused directly or indirectly by use of this program.

    In  no  event  will I be  liable to you for any damages, including any
    lost  profits,  lost  savings  or  other  incidental or  consequential
    damages  arising out of your use or  inability to use the program,  or
    for any claim by any other party.
      
    ______________________________________________________________________

    If you have a problem with CDQ, please feel free to email me
    (briandoc@webboyz.com) or write to me describing the situation.   

       CDQ  v3.10                Purpose                          2

    P U R P O S E
    ______________________________________________________________________


    CDQ is a quick little utility that is designed to make the simple task
    of changing MS-DOS directories even simpler.  This utility works the 
    same as the MS-DOS CD command, except for the following conditions:

	a.  if an incomplete directory name is given, CDQ will 
	    attempt to locate the directory closest to that which
	    you have typed.

	    i.e. If you type the following: 
			 
                    CDQ BIN      

            CDQ may find the directory C:\BP\BIN or C:\BP\RTL\BIN,
            if they are located in your current drives directory 
            tree.

	b.  it will attempt to match partial directory names also.
		    
	    i.e. If you type the following: 
			 
                    CDQ WIN      
		 
            CDQ may find the directory C:\WINDOWS or C:\WINWORD
            if they are located in your current drives directory 
            tree.

	c.  repetitive calls to CDQ with the same partial directory
	    name will result in the match of the next directory
	    in the directory tree.

	    i.e. If you type the following: 
			 
                    CDQ T    results in the first directory starting
                             with T.

            a subsequent call to CDQ with T as the parameter
            results in the next directory starting with T.

            and so on...

         d. Long file names are now supported. Enter any long filename on
            the command line to search for matches.

            i.e. If you type the following:

                    CDQ "my do"

            CDQ will find all directories that begin with "my do", such as
            "My Documents" or "My Downloads". All long filenames must be
            specified in quotes!

       CDQ  v3.10       Setting Up CDQ                         3

    S E T T I N G   U P   C D Q
    ______________________________________________________________________


    To use CDQ, place it in your DOS directory, or anywhere that is
    in your PATH statement, so that you can use it from any 
    directory.

    CDQ can work with or without creating a small directory tree file
    in CDQ's directory or a directory specified in an optional configuration
    file.  It is up to the user based on the speed at which you would
    like the program to run at as to whether or not to use this directory
    file. For drives will a large directory structure, use of the tree
    file is highly recommended.

    To enable the use of a small directory file, place the following
    command in your AUTOEXEC.BAT file:

            SET CDQUseFile=YES

    Other than this, you can use CDQ just as you use the MS-DOS CD command.
    All commands including the "CDQ .." act as normal.

    If you add or remove directories, it is advisable to rescan (unless you
    use MDQ and RDQ ;-) the drive for new directories with the following
    command:

            CDQ /R

    If CDQ does not properly find a directory after it has been added,
    this rescan command should fix the problem. This command could also be
    added to your AUTOEXEC.BAT file to ensure all directories are identified
    at startup.

      CDQ  v3.10       Directory Tree File Placement          4

    D I R E C T O R Y   T R E E   F I L E   P L A C E M E N T
    ______________________________________________________________________

    Version 3.10 adds the ability to specify the location of the
    DRIVE_?.CDQ file that is created with the CDQUseFile option or
    when you specify /R on the command-line. It can now be placed
    in any drive/directory. This is useful for placing a network
    drive's tree file on a quicker, local drive.

    The configuration file must be placed in the same directory as the
    CDQ.EXE program and be named CONFIG.CDQ. This file is a simple text
    file that lists the drive and directory to place the tree file in.
    Also, if you place the drive letter by itself, that drive will be
    considered read-only, and the CDQUseFile option will be ignored.

    Example CONFIG.CDQ file contents:

                c:=c:\dos\cdq
                d:
                e:
                f:=c:\dos\cdq
                g:=g:\apps\cdq
    
    You do NOT have to list all of your drives in this file. If there
    is no entry for a drive, the file will be placed in the CDQ.EXE
    program's directory.

    Check out the file SAMPLE.CFG that comes in the CDQ archive for more
    info and examples.

      CDQ  v3.10       Comments                               5

    C O M M E N T S
    ______________________________________________________________________


    CDQ is the result of a whole lot of night's worth of effort trying
    to find a quicker alternative to the Norton NCD program.  CDQ removes 
    the overhead that NCD runs with to execute atleast as fast 
    WITHOUT maintaining a directory tree info file, and runs at a fraction
    of the NCD program when maintaining a small directory tree file.

    If you have any comments, or suggested add-ons, please feel
    free to write or email me (briandoc@webboyz.com) with your comments,
    and/or requests.

    CDQ is no longer limited to a maximum amount of directories. The number
    of directories are only limited by the amount of free memory available
    under the 640K border. A version that uses available extended memory
    could easily be released but seems unnecessary and would also slow down
    the program's performance.

    If you are using a command processor that allows the use of aliases,
    such as 4DOS or NDOS, CDQ can easily be added as the alias for the
    normal MS-DOS CD command, so that anytime you type CD, the CDQ
    program will execute instead.  Consult your command processors
    documentation for information on setting up aliases.
       
    I hope you find this utility as useful as I do.  Happy computing.
       
       
      CDQ  v3.10       File List                               6

    F I L E   L I S T
    ______________________________________________________________________

    CDQ is distributed with the following files in the archive:

       o   CDQ.EXE       Executable file
       o   MDQ.EXE       Executable file (Util to replace DOS MD)
       o   RDQ.EXE       Executable file (Util to replace DOS RD)
       o   CDQ.TXT       This file
       o   DESC.TXT      Text file with Description of CDQ program.  
       o   SAMPLE.CFG    Sample CONFIG.CDQ file.  
       o   README.!!!    File to remind how to set CDQ for quick
                         operation with directory tree file.
       o   README2.!!!   File that quickly describes use of MDQ/RDQ.


       CDQ v3.10              Revision History                 7


    R E V I S I O N   H I S T O R Y
    ______________________________________________________________________


    Version 3.10 - 04/03/98 Enhancement. Changed the way directories are
                   handled internally. There is no longer a limit on the
                   amount of directories that can be handled. Dirs are now
                   sorted slightly different with the first matches coming
                   in the directories closest to your current depth in the
                   directory tree.
    Version 3.01 - 03/25/98 Bug Fix. Fixed a small memory leak.
    Version 3.00 - 03/20/98 Major Enhancements. Now supports long filenames!
                   Config file allows placement of tree files on any drive/
                   directory. Tree files default to CDQ.EXE's directory.
    Version 2.02 - 03/10/98 Minor bug fixes. Added CONFIG.CDQ option.
                   Allows user to specify the location of the DIR_TREE.CDQ
                   file on individual drives by placing a CONFIG.CDQ file
                   in ROOT directory of the C: drive. See SAMPLE.CFG for
                   examples and info.
    Version 2.01 - 01/29/98 Minor bug fix. Long file name support coming soon!
    Version 2.00 - 11/25/96 Increased dir limitation from 500 dirs to 7000.
    Version 1.00 - 09/21/93 First version completed!!!































    Product names mentioned in this document may be trademarks or registered
    trademarks of their respective companies and are hereby acknowledged.
