CDP (Cliff's Directory Program) is Copyright (C) 1989 by Cliff Roberson dba GoodWare, 926 Leighton Way, Sunnyvale, CA. 94087 All Rights Reserved In the United States and Worldwide CDP runs in less than 9000 (or 14000 with 2nd tree) BYTES !! Other TSRs (e.g., Sidekick) may precede or follow it!! CDP requires DOS 2.0 or higher. CDP requires 169 (174)to start, but swaps to disk or LIM-EMS!! With 176 KB of EMS, CDP reduces to 9000 bytes when resident. With 128 KB, it reduces to 57000; and with 64 KB, to 103. CDP has two hotkeys which bring it up from dormancy. The primary hotkey (Lshift-Lshift by default), brings CDP up in the SAME DIRECTORY AS BEFORE it went dormant. The secondary hotkey (default Rshift-Rshift) brings it up in the CURRENT DOS DIRECTORY. CDP has a complete set of menus for its operations, with contextual help available for all operations (over 300 screens). Use F1, F2, F3 for help. F1 - contextual help F2 - help for cursor keys, etc. F3 - help for hot keys The use of the menus is fairly well obvious. It is much faster to use single keystrokes as described below. Two unusal features worth pointing out especially are that you can run CDP with the directory tree appearing either on the left of the screen (default) or on the right (see Z optionjust below); and the size of the files window is adjustable (see Scrollock). If you have a two-color screen and have trouble seeing the cursor, see the Y option below under SET Statements and Command Line Options. Quick Guide to CDP Make sure that you are in the Now that you are familiar with directory that CDP is installed the control keys, you will in, or that the directory where notice that the screen is CDP is located is in your path divided into four parts. Menu statement. options, Directory tree, Files window, and memory and disk When either of these two methods information. are met, just type CDP. Thats all there is to running CDP. Menu options are invoked by moving the cursor to the desired Help is at your fingertips: option and hitting the Return key. These options are always Function Keys: accessible by the left and right arrow keys. F1 - Context sensitive help F2 - Cursor keys, and The directory tree represents keyboard graphically all the directories F3 - Hot keys and subdirectories. Movement F4 - Remember path around is via the Up and F5 - Window size Downarrow keys, when the active F6 - Switch windows. cursor is in this window. F7 - Unmark all tagged files F8 - Mark all files The files window displays files F9 - Mark a single file. of the directory marked by the Then cursor goes up. cursor in the directory tree. F6 F10 - Mark a single file. toggles the active cursor from Then cursor goes down. the directory tree to the files window. This is where many of Special keys: the command options will be used. Spacebar: Marks or unmarks file cursor is positioned on. Memory and disk information give statistics on how much disk space is left for other files, ESC: Returns you to the number of marked files and their Main or previous menu. total size, etc. This information will change depending on what window you are Ctrl -> Moves right or left working in, i.e., tree or files or <-: in the files window. window. Also note that the date and time Home/End: Moves to first or will always be shown on the last directory or bottom left on line 25. file. Page two is a representation of PgUp or Moves up or down one where these areas are. PgDn: 'page' at a time. Scroll + Raise the top of Home: the files window. Scroll + Lower the top of End: the files window. 1 The main screen layout of CDP (shortened) looks like this: +-----------------------------------------------------------------------------+ |C:\ | | This is the "Menu Option" area. | | | |=Volume Label ========CDP Registrant:GoodWare 30-day free trial=| | || | | This is the "Directory Tree" area. || Memory/Disk information | | || | | || | | || | | || | | || | | || | | || | |==Files Matching ==== *.* =======================|| | | "Files Window" area || | | || | | || | | || | | || CDP Serial # 1234567 | | 3-1-90 13:05:45 F1,F2,F3=HELP || GoodWare's CDP 1.2| +-----------------------------------------------------------------------------+ Brief explanation of Main Menu. Copy: Point to destination, Rename: Files or directories. or type path. Depending upon which Copy files allows you window the active to copy files anywhere cursor is located, on your drive by either files or a pointing with the tree directory will be cursor, or to another renamed. drive by typing a path. Find: Find Ascii strings in Move: Point to destination, files and view the or type path on same matches. Sensitivity to drive. case and other items may be chosen. Non- Move is similiar to Ascii files may be copy, except that files searched. and/or entire directory trees may be moved. View: View files in Ascii, or Hex, and review Erase: Files or Directories. results. Erase directory will View files that meet erase the directory the find criteria, or when no files are in view the file the it. active cursor is on, or from the find command. Erase ALL will erase Sort: Sort files for Display: just the files, leaving Ascending, Descending, intact the directory Name, Extension, Time, name. Size, or location. 2 Display: Manipulates the Quit: Quit, Remove, Continue. information displayed in the Files window. Quit let's CDP stay in memory while you run Log: Log onto another drive. your applications. Allows CDP command line Remove takes CDP out of options to be performed memory and requires you across all your drives. to reload CDP later. Maximum of 24, A thru W. Continue is like hitting the ESC key and Other: Major Submenu of Tools thus aborts the and Utilities for DOS command. file twitching and Execute: Run program files, functions DOS never change directories, and dreamed of. identify a program that you would like to work with. Note: Movement around the command line options is with the Right and Left arrow keys. Now that you are familiar with the different windows, how to move around to them, and the command line options, it's time to explore. Choose a file, just one, that you can use to experiment with, I suggest one that comes with CDP like SWELL.NEW, a plain Ascii file. Make sure that you are logged onto the drive where CDP is located. If you are not, use the Left or Right arrow keys and position the cursor on "LOG". Hit return. Type the letter of the drive where CDP is located and hit return. Make sure that the cursor in the directory tree is positioned in the CDP directory. Hit F6 several times. Note what happens to the cursor! When the active cursor is in the directory files area, you will notice that there are two "<< <<" in the directory tree. They mark at which directory the active cursor in the directory files area was located. When you are in the directory tree, they are removed and the cursor is positioned on that directory in the directory tree. If the active cursor is in the files window, then using the Up and Down arrow keys will scroll thru the files of the directory where the "<< <<" are shown. Hit F6, so that the active cursor is in the directory files area of CDP. Use the Up and Down arrow keys to move around. An alternative is to hold down the Ctrl key and use the Left or Right arrow keys to jump from column to column. For scrolling around in this window please refer to the explanation of control keys above. Now position the cursor on the file that we have chosen to "Play" with. What we want to do is copy this file to another location. Let's copy to the root dir. You can either type "C" or use the arrow keys to highlight COPY on the command line. Do so and then notice the active cursor is now located back in the 3 directory tree. There are now two options. Use either the Up arrow or HOME to place the cursor on the root directory, or type \ as the directory that you want the file to be copied to. Place the cursor on the Root directory. Since we are copying only a single file, "current" satisfies this. If we wanted to copy the entire directory contents we simply would have said "all". Choose "current". Let's rename this file to something else. Make sure that the active cursor is located on the root directory. Hit F6 to place the active cursor back up in the directory tree. Use the Up arrow key until the active cursor is positioned on the root directory. Hit F6 to make the directory files area active. Postion the cursor on the file that you just copied, SWELL.NEW. Issue the command to remane the file. Issue a name, let's call it TEST.DOC. Note that the file now has a new name, and that your original file in the CDP directory is still intact. While in the root directory move this newly named file back to the CDP directory. If you need help, just follow the steps that we did to copy the file, but use the MOVE command instead of COPY. Now let's view the contents of the TEST.DOC file. Make sure that the cursor on the Directory tree is located on the CDP directory. Hit F6 to switch windows. The active cursor is now in the File window area, showing all files in the CDP directory. Use the Up or Down arrow keys to put the cursor at TEST.DOC. Use the Left or Right arrow keys to move the cursor on the Menu Option area to "View". Hit return. There are 2 choices: to view the contents of TEST.DOC in Ascii or Hex. Let's choose Ascii, so position the cursor on Ascii and hit return. We now see the contents of TEST.DOC, formerly SWELL.NEW. One nice feature of CDP is its ability to FIND strings. Type S. Now type the string "print". See what happens. CDP locates the next occurrence of "print" and positions the line containing it at the top of the screen. Type A to mark the line. Type F to find the next occurrence of "print". Now type C. Jumps right back to the first "print". This is explained in SWELL.NEW itself. You should have a pretty good feeling now of the simplicity of using CDP. Now use CDP to erase the TEST.DOC file. Make sure that the active cursor is in the CDP directory and that the cursor is placed on TEST.DOC. Position the cursor on the Menu option of ERASE and hit return. Here there are two choices, Current or All. CURRENT will erase the file that the active cursor is on in the Files window, ALL will erase all files in the directory. For now we just want to erase the current file. One very handy feature is the Sort command featured on the Menu Options area. Give it a try. Try sorting on Time. The earliest file date/time will be listed first. On the Menu options area is a Display command that allows you to display the information in the Files window in a variety of ways. I like to see file dates, times, and attributes. The way to display all this information is to select 1Col from the Display Menu option. We have covered just the surface of the capabilities of CDP. There are built in precautions on the destructive commands that require confirmation before execution, so play around and pay attention to the screens. If you have any questions, concerns, or need help, by all means call the Support BBS described in BBSUPORT.CDP. 4