home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / JCD10.ZIP / JCD.TXT < prev    next >
Text File  |  1990-04-29  |  4KB  |  120 lines

  1.          JCD, an improved change directory for OS/2
  2.  
  3.  
  4.  
  5.        License
  6.        -------
  7.  
  8.      This program is a freeware product. You can freely copy
  9. and distribute it as long as you don't make any changes to
  10. the original package.
  11.  
  12.        Author
  13.        ------
  14.  
  15.        Joel Armengaud           E-Mail until 6/26/90:
  16.        Le Grand Lot             <Armengau@FRECP12.Bitnet>
  17.        13720 Belcodene          After 6/26/90:
  18.        FRANCE                   <MPI@FRMOP11.Bitnet>
  19.  
  20.  
  21.        Description
  22.        -----------
  23.  
  24.      JCD is an improved change directory utility for OS/2.
  25. It allows you to change both the directory and current drive
  26. in an OS/2 session, full screen or windowed.
  27.      
  28.      Imagine your are in C:\OS2\INSTALL and want to go to
  29. D:\PRODUCTS\UTILIT, just type "jcd utilit" :
  30.      
  31.      C:\OS2\INSTALL> jcd utilit
  32.  
  33.      D:\PRODUCTS\UTILIT>
  34.      
  35.      Another feature of jcd is that it changes to the
  36. directory that best matches the name you typed. For instance
  37. you can type "jcd util", or "jcd til", or even "jcd utlit".
  38. If you have several directories that matches the name, you
  39. just have to retype the previous jcd command to switch to
  40. the next directory, in a round-robin fashion.
  41.  
  42. Jcd currently doesn't accept HPFS long names.
  43.  
  44. Jcd won't allow you to change the directory on drives A: and
  45. B:
  46.  
  47.  
  48.      How JCD works.
  49.      --------------
  50.      
  51.      The problem with OS/2 is that each process has its own
  52. environment. An .exe program cannot change the current
  53. drive/directory of a parent process.
  54.      The only way I know to change the directory (without
  55. rewriting CMD.EXE!) is using a .CMD with the call statement.
  56. That's why Jcd makes a temporary file.
  57.      
  58.      However unlike Norton's NCD utility, JCD doesn't use a
  59. file to store the complete directory structure of all disks.
  60. Instead Jcd uses a background task as a server. The server,
  61. jcd2.exe, stores the directory trees in memory. Usually it
  62. won't consume more than 10 or 20Kb.
  63.      
  64.      How does the jcd server update changes in directory
  65. structures ? Jcd2 periodically rescans the disks. During
  66. jcd2 rescanning, the jcd command won't work (you'll get the
  67. message "Jcd server rescanning disks...try later"). The
  68. delay between rescans is a parameter of the jcd2 command
  69. line. Since it can be time-consuming, jcd2 rescans using an
  70. idle-time priority level, so it won't slow any other running
  71. applications.
  72.      If Jcd2 tries to go into a directory that has just been
  73. removed, it rescans the disks immediately. If you want to
  74. force a rescan, just type :
  75.      
  76.      JCD /r
  77.      
  78.      
  79.      Installation
  80.      ------------
  81.      
  82.      The jcd package comes with 4 files:
  83.      
  84.      jcd.cmd
  85.      jcd1.exe
  86.      jcd2.exe
  87.      jcd.doc
  88.      
  89.      just copy the .cmd and .exe files in a directory in
  90. your path statement.
  91.      
  92.      The jcd2 server should be run only once, as a
  93. background task. You can for instance put it in your
  94. startup.cmd file with a start= or detach= statement, or even
  95. at the end of your config.sys file, with a RUN= statement.
  96.      
  97.      Jcd2 accepts 3 options in the command line :
  98.      
  99.      /R n       rescan every n minutes (default: 60)
  100.      /H         rescan with a regular priority (default:
  101. idle-time)
  102.      /D x       put temporary file in root directory of
  103. logical drive x (default: /D C)
  104.      
  105.      If you use the /D switch, you also have to edit the
  106. file jcd.cmd, and change the fourth line:
  107.      @call C:\jcd-file.cmd
  108.      to:
  109.      
  110.      @call x:\jcd-file.cmd
  111.      
  112.      where x is the drive letter you have used with /D.
  113.      
  114.      If you find Jcd too slow, there are two ways to
  115. accelerate it:
  116.      1) Modify your path statement so that the directory
  117. where the jcd files are appears in first position.
  118.      2) Use the /D switch with an HPFS or a virtual disk.
  119.      
  120.