home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / dosutils / fcd20.arj / FCD20.DOC < prev   
Encoding:
Text File  |  1992-01-27  |  2.6 KB  |  73 lines

  1. FCD.COM  -  Fast Change Directory ver 2.0   by Ron L. Smith
  2.  
  3. Fast Change Directory (FCD), when first run, will create a file called
  4. DIRINFO.FCD in the root directory of the default/selected drive.  This file
  5. is necessary for FCD to work.  Later, if you change the names of, remove, or
  6. create new directories, you will need to rescan the drive so FCD will know
  7. that the changes have taken place.
  8.  
  9. Examples:
  10.  
  11. FCD /R                 Rescan the current drives directories.
  12. FCD C: /R              Rescan drive C:'s directories, change to drive C:.
  13. FCD C:DO /R            Rescan drive C:, change to drive C: and change 
  14.                        to the next directory that contains DO in it's name.
  15. FCD OUT                Change to the next directory that contains OUT in it's
  16.                        name on the default drive.
  17.  
  18. NOTES:
  19.  
  20. 1) The first time you run FCD for any give drive, you do not have to use the
  21.    /R parameter, FCD will automatically see that it needs to create the
  22.    directory info file (\DIRINFO.FCD).
  23.  
  24. 2) This program works for sub-strings of directories, not just the beginning
  25.    of the name.  E.G., on drive C:, you have a directory called PASCAL.  You
  26.    can use:
  27.             FCD P
  28.             FCD PAS
  29.             FCD SCA
  30.             FCD AL
  31.  
  32.    or whatever you want, as long as it can find it as a sub-string of the
  33.    directory in question.  Note, however, that in some cases, it may find
  34.    a directory that you did not intend to change to.  For instance:
  35.    
  36.    Drive C:, you have the following directories:
  37.  
  38.      \DOS
  39.      \UTILITY
  40.      \TURBOC
  41.      \TURBOC\SOURCE
  42.      \TURBOC\LIB
  43.      \TURBOC\INCLUDE
  44.      \TURBOC\OUTPUT
  45.  
  46.    If you say    FCD OU   because you want to change to the \TURBOC\OUTPUT
  47.    directory, it will not do it.  It will change to \TURBOC\SOURCE since
  48.    that one fits the search string (OU in SOURCE) and comes before OUTPUT
  49.    in the list.  However, if you simply repeat the same command again, it
  50.    will find the NEXT occurance of your parameter, so in the example, it 
  51.    would then go to the OUTPUT directory.  Also note that FCD reads in 
  52.    succession, so you could have:
  53.  
  54.    \TC\SOURCE1
  55.    \TC\SOURCE2
  56.    \TC\SOURCE3
  57.    \TC\SOURCE4
  58.  
  59.    Now, when you execute FCD, it will change to SOURCE1, and if executed
  60.    again from there, to SOURCE2, then to SOURCE3, etc., until it wraps
  61.    back around to SOURCE1 again.
  62.  
  63. 3) If you find this program of use, call this BBS and let me know!!
  64.  
  65.    Spycom BBS
  66.    Clovis, NM
  67.    Running WWIV BBS
  68.    US Robotics HST Modem (14400 baud)
  69.    (505)-784-3157
  70.    24 Hours per Day
  71.  
  72.    Leave mail for Q, #11.  I will be interested in your opinions.
  73.