home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / UTILITY / FILE / CDPSW51D.ZIP / PRIMER.CDP < prev    next >
Encoding:
Text File  |  1990-08-04  |  15.8 KB  |  273 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.      CDP (Cliff's Directory Program) is Copyright (C) 1989 by Cliff Roberson
  7.               dba GoodWare, 926 Leighton Way, Sunnyvale, CA.  94087
  8.               All Rights Reserved In the United States and Worldwide
  9.  
  10.         CDP runs in less than 9000 (or 14000 with 2nd tree) BYTES !!
  11.         Other TSRs (e.g., Sidekick) may precede or follow it!!
  12.         CDP requires DOS 2.0 or higher.
  13.  
  14.         CDP requires 169 (174)to start, but swaps to disk or LIM-EMS!!
  15.  
  16.         With 176 KB of EMS, CDP reduces to 9000 bytes when resident.
  17.  
  18.         With 128 KB, it reduces to 57000; and with 64 KB, to 103.
  19.  
  20.         CDP has two hotkeys which bring it up from dormancy. The primary
  21.         hotkey (Lshift-Lshift by default), brings CDP up in the SAME
  22.         DIRECTORY AS BEFORE it went dormant. The secondary hotkey
  23.         (default Rshift-Rshift) brings it up in the CURRENT DOS DIRECTORY.
  24.  
  25.     CDP has  a complete set of  menus for its operations,  with contextual help
  26.     available for all operations (over 300 screens).
  27.     Use F1, F2, F3 for help.
  28.  
  29.     F1        -    contextual help
  30.     F2        -    help for cursor keys, etc.
  31.     F3        -    help for hot keys
  32.  
  33.     The  use of  the menus is  fairly well  obvious. It  is much faster  to use
  34.     single keystrokes  as described below.  Two unusal features  worth pointing
  35.     out especially are that you  can run CDP with the directory  tree appearing
  36.     either  on  the  left  of the  screen  (default)  or on  the  right  (see Z
  37.     optionjust  below); and  the size  of the files  window is  adjustable (see
  38.     Scrollock).
  39.  
  40.     If you have  a two-color screen and have trouble seeing the cursor, see the
  41.     Y option below under SET Statements and Command Line Options.
  42.  
  43.  
  44.                               Quick Guide to CDP   
  45.  
  46.     Make  sure  that  you are  in the    Now  that  you are  familiar with
  47.     directory that  CDP is  installed    the  control  keys,    you   will
  48.     in,  or that  the directory where    notice   that   the   screen   is
  49.     CDP is  located is  in your  path    divided  into  four  parts.  Menu
  50.     statement.                           options,  Directory  tree,  Files
  51.                                          window,  and   memory  and   disk
  52.     When  either of these two methods    information.
  53.     are  met,  just type  CDP.  Thats
  54.     all there is to running CDP.         Menu  options   are  invoked   by
  55.                                          moving  the cursor to the desired
  56.     Help is at your fingertips:          option  and  hitting  the  Return
  57.                                          key.  These  options  are  always
  58.     Function Keys:                       accessible  by the left and right
  59.                                          arrow keys.
  60.     F1  -   Context sensitive help
  61.     F2  -   Cursor keys, and             The  directory  tree   represents
  62.             keyboard                     graphically  all  the directories
  63.     F3  -   Hot keys                     and   subdirectories.    Movement
  64.     F4  -   Remember path                around   is   via  the   Up   and
  65.     F5  -   Window size                  Downarrow keys,  when the  active
  66.     F6  -   Switch windows.              cursor is in this window.
  67.     F7  -   Unmark all tagged files
  68.     F8  -   Mark all files               The files  window displays  files
  69.     F9  -   Mark a single file.          of  the  directory marked  by the
  70.             Then cursor goes up.         cursor  in the directory tree. F6
  71.     F10 -   Mark a single file.          toggles  the active  cursor  from
  72.             Then cursor goes down.       the  directory tree  to the files
  73.                                          window.  This  is where  many  of
  74.     Special keys:                        the  command   options  will   be
  75.                                          used.
  76.     Spacebar:  Marks or unmarks  file
  77.     cursor  is  positioned on.           Memory and disk information  give
  78.                                          statistics  on   how  much   disk
  79.                                          space  is  left for  other files,
  80.     ESC:       Returns   you  to  the    number  of marked files and their
  81.                Main or previous menu.    total     size,     etc.     This
  82.                                          information      will      change
  83.                                          depending  on what window you are
  84.     Ctrl ->    Moves  right  or  left    working  in, i.e.,  tree or files
  85.     or <-:     in the files window.      window.
  86.  
  87.                                          Also note that the date and  time
  88.     Home/End:  Moves   to  first   or    will   always  be  shown  on  the
  89.                last   directory    or    bottom left on line 25.
  90.                file.
  91.                                          Page  two is  a representation of
  92.     PgUp or    Moves up or down one      where these areas are.
  93.     PgDn:      'page' at a time.
  94.  
  95.     Scroll +   Raise the top of
  96.     Home:      the files window.
  97.  
  98.     Scroll +   Lower the top of
  99.     End:       the files window.
  100.                                       1
  101.  
  102.              The main screen layout of CDP (shortened) looks like this:
  103. +-----------------------------------------------------------------------------+
  104. |C:\                                                                          |
  105. | This is the "Menu Option" area.                                             |
  106. |                                                                             |
  107. |=Volume Label <Drive_C   > ========CDP Registrant:GoodWare 30-day free trial=|
  108. |                                                  ||                         |
  109. | This is the "Directory Tree" area.               || Memory/Disk information |
  110. |                                                  ||                         |
  111. |                                                  ||                         |
  112. |                                                  ||                         |
  113. |                                                  ||                         |
  114. |                                                  ||                         |
  115. |                                                  ||                         |
  116. |                                                  ||                         |
  117. |==Files Matching ==== *.*  =======================||                         |
  118. | "Files Window" area                              ||                         |
  119. |                                                  ||                         |
  120. |                                                  ||                         |
  121. |                                                  ||                         |
  122. |                                                  || CDP Serial # 1234567    |
  123. | 3-1-90  13:05:45         F1,F2,F3=HELP           || GoodWare's CDP       1.2|
  124. +-----------------------------------------------------------------------------+
  125.  
  126.                            Brief explanation of Main Menu.
  127.  
  128.     Copy:    Point  to   destination,    Rename:  Files or directories.
  129.              or type path.
  130.                                                   Depending   upon   which
  131.              Copy  files  allows  you             window    the     active
  132.              to  copy files  anywhere             cursor    is    located,
  133.              on    your    drive   by             either    files   or   a
  134.              pointing  with the  tree             directory    will     be
  135.              cursor,  or  to  another             renamed.
  136.              drive by typing a path.
  137.                                          Find:    Find  Ascii  strings  in
  138.     Move:    Point  to   destination,             files   and   view   the
  139.              or  type  path  on  same             matches. Sensitivity  to
  140.              drive.                               case  and  other   items
  141.                                                   may    be  chosen.  Non-
  142.              Move   is   similiar  to             Ascii   files   may   be
  143.              copy, except that  files             searched.
  144.              and/or entire  directory
  145.              trees may be moved.         View:    View files in Ascii,  or
  146.                                                   Hex,     and      review
  147.     Erase:   Files or Directories.                results.
  148.  
  149.              Erase   directory   will             View  files  that   meet
  150.              erase   the    directory             the  find  criteria,  or
  151.              when  no  files  are  in             view    the   file   the
  152.              it.                                  active cursor is on,  or
  153.                                                   from the find command.
  154.              Erase   ALL  will  erase    Sort:    Sort  files for Display:
  155.              just the files,  leaving          Ascending,   Descending,
  156.              intact   the   directory             Name,  Extension,  Time,
  157.              name.                                Size, or location.
  158.                                           2
  159.     Display: Manipulates the            Quit:    Quit, Remove, Continue.
  160.              information    displayed   
  161.              in the Files window.                Quit let's CDP  stay  in
  162.                                                  memory  while  you   run
  163.     Log:     Log onto another drive.             your applications.        
  164.                                         
  165.              Allows CDP command  line             Remove takes CDP out  of
  166.              options  to be performed             memory and requires  you
  167.              across all your  drives.             to reload CDP later.
  168.              Maximum  of 24,  A  thru   
  169.              W.                                   Continue     is     like
  170.                                                   hitting the ESC key  and
  171.     Other:   Major  Submenu of  Tools             thus     aborts      the
  172.              and  Utilities  for  DOS             command.
  173.              file    twitching    and   Execute:  Run program files,      
  174.              functions   DOS    never             change directories,  and
  175.              dreamed of.                          identify a program  that
  176.                                                   you would like to work 
  177.                                                   with.
  178.  
  179.              Note: Movement around the command  line options is
  180.                      with the Right and Left arrow keys.
  181.  
  182.  
  183. Now that  you are familiar  with the  different windows, how  to move around  to
  184. them, and the command line options, it's time to explore.
  185.  
  186. Choose a  file, just  one, that you  can use to  experiment with, I  suggest one
  187. that comes with CDP like SWELL.NEW, a plain Ascii file.
  188.  
  189. Make sure that you  are logged onto the drive where  CDP is located. If you  are
  190. not, use  the Left or Right arrow keys and position the cursor on "LOG".  Hit
  191. return. Type the letter of the drive where CDP is located and hit return.
  192.  
  193. Make  sure that  the  cursor in  the directory  tree  is positioned  in  the CDP
  194. directory. Hit  F6 several  times. Note  what happens  to the  cursor! When  the
  195. active  cursor is in  the directory files area,  you will  notice that there are
  196. two  "<< <<"  in the  directory tree.  They mark at which  directory the  active
  197. cursor  in the directory files  area was located. When you are  in the directory
  198. tree, they are removed and the cursor  is positioned  on that  directory  in the
  199. directory tree.
  200.  
  201. If the active cursor is  in the files window, then  using the Up and Down  arrow
  202. keys will scroll thru the files of the directory  where the  "<< <<"  are shown.
  203.  
  204. Hit F6, so that  the active cursor is in the  directory files area of CDP.  Use
  205. the Up and Down arrow  keys to move around. An alternative  is to  hold down the
  206. Ctrl key and use  the Left or Right  arrow keys to jump from  column to  column.
  207. For  scrolling  around  in  this  window  please refer  to  the  explanation  of
  208. control keys above.
  209.  
  210. Now position the cursor on the file that we have chosen to  "Play" with. What we
  211. want to do  is copy this file to another  location. Let's copy to the root dir. 
  212. You  can either type "C" or use the arrow keys  to highlight COPY on the command
  213. line. Do so and then  notice  the  active cursor  is  now  located back  in  the
  214.                                           3
  215.                                           
  216. directory tree. There are now two options.  Use either the Up arrow  or  HOME to
  217. place the  cursor on the root  directory, or type \ as the  directory  that  you
  218. want the file to be copied to.  Place the cursor on the Root directory. Since we
  219. are  copying only a single file, "current" satisfies this.  If we wanted to copy
  220. the entire directory contents we simply would have said "all". Choose "current".
  221.  
  222. Let's rename this file to something  else. Make sure  that the active cursor  is
  223. located on  the root directory. Hit F6 to place the active cursor back up in the
  224. directory tree. Use the  Up arrow key until the  active cursor is  positioned on
  225. the root directory. Hit F6 to make the directory files area  active. Postion the
  226. cursor on the  file that you just copied, SWELL.NEW. Issue the command to remane
  227. the file. Issue a name, let's call it TEST.DOC. Note that the file now has a new
  228. name, and that your original file in the CDP directory is still intact.
  229.  
  230. While  in the  root  directory  move this  newly  named  file back  to  the  CDP
  231. directory. If  you need help,  just follow  the steps that  we did  to copy  the
  232. file, but use the MOVE command instead of COPY.
  233.  
  234. Now let's view the contents of the TEST.DOC file.  Make sure that the  cursor on
  235. the Directory tree  is located on the CDP  directory. Hit F6 to switch  windows.
  236. The  active cursor is now in the File window area,  showing all files in the CDP
  237. directory. Use the Up or Down arrow  keys to put the cursor at TEST.DOC. Use the
  238. Left or Right arrow keys  to move the cursor on the  Menu Option area to "View".
  239. Hit return.  There are 2 choices: to view the contents of TEST.DOC in Ascii or
  240. Hex. Let's choose Ascii, so position the cursor on Ascii and  hit return. We now
  241. see the contents of TEST.DOC, formerly SWELL.NEW.
  242.  
  243. One  nice feature  of CDP  is its  ability to  FIND strings.  Type  S.  Now type
  244. the string "print". See what happens. CDP locates the next occurrence of "print"
  245. and positions  the line  containing it at the top of the screen. Type  A to mark
  246. the line. Type  F  to find the next  occurrence of "print".  Now type  C.  Jumps
  247. right back to the first "print".  This  is  explained  in SWELL.NEW itself.
  248.  
  249. You should have a pretty good feeling now of the simplicity of using  CDP.  Now 
  250. use  CDP to erase the TEST.DOC file. Make sure that  the active cursor is in the
  251. CDP  directory and that the cursor is placed on TEST.DOC. Position the cursor on
  252. the Menu option of ERASE and hit return. Here  there  are  two choices,  Current
  253. or All. CURRENT will erase  the file that the active  cursor is on in  the Files
  254. window, ALL  will erase all  files in  the directory. For  now we  just want  to
  255. erase the current file.
  256.  
  257. One very handy  feature is the Sort command  featured on the  Menu Options area.
  258. Give it a try. Try  sorting on Time. The earliest file date/time will  be listed
  259. first.
  260.  
  261. On the Menu options  area is a Display  command that allows you  to display  the
  262. information in the Files window in a  variety of ways. I like to see file dates,
  263. times,  and attributes. The  way to  display all  this information is  to select
  264. 1Col from the Display Menu option.
  265.  
  266. We have covered just the surface of the capabilities of CDP. There are built  in
  267. precautions  on  the  destructive commands  that  require  confirmation  before
  268. execution, so play around and pay attention to the screens.
  269.  
  270. If  you have  any questions,  concerns,  or need  help,  by all  means call  the
  271. Support BBS described in BBSUPORT.CDP.
  272.                                           4
  273.