DELTREE 1.1 This program is a rewrite of the DCL DELTREE provided by DIGITAL. This program is written in C and should not have any affect upon the VMS version. This version of DELTREE provides the qualifiers: /CONFIRM - to confirm deletion of files. /LOG - to show a log of the deletion of files. The program has been written to accept logical directory names and provide full error messaging. The program also tries to set the protection on files automatically so that you do not have to set them before performing the DELTREE command (of course assuming that you have access to the files to begin with). ****************************************************************************** Modifications: 1) (fix) Error messaging enhancements. 2) (new) When using /CONFIRM, allow all inputs that begin with Y, T or 1 to translate as yes answers, while inputs that begin with N, F or 0 are translated as no answers (no is still the default). Any other input will be requestioned by the program. 3) (new) When using /CONFIRM, an input of ALL will assume that the rest of the files are confirmed to be deleted. 4) (fix) Can now preceede input for /CONFIRM with blanks without causing a problem. 5) (mod) Restructure code. ****************************************************************************** Related files: AAAREADME.1ST - This file. DELTREE.C - Source code. DELTREE.CLD - Command definition file. DELTREE.EXE - Executable. DELTREE.HLP - Help file. DELTREE.OBJ - Object code. DELTREE.OPT - Options code. ****************************************************************************** Installing: 1. Make sure you have deleted any symbols pertaining to DELTREE: $ DELETE/SYMBOL/GLOBAL DELTREE 2. Change the image location in DELTREE.CLD. 3. Either SET COMMAND DELTREE.CLD or add the command to DCLTABLES.EXE. 4. If any changes are made perform the following commands: $ CC DELTREE $ LIN DELTREE /OPT 5. (recommended step) Use the alternate command verb in DELTREE.CLD. In your SYLOGIN.COM file, add the following line: $ DELTREE :== AMBIGUOUS_DELTREE Why you ask?? Try 2000 stupid users that hardcoded the shortest version of every command and cannot live without DEL (they refuse to type DELE or anything longer at the command line!!!). Anyway, for those in systems management, you will know what I am talking about and understand why. This will save a lot of headache that you can use for a good night of drinking instead, trust me. Also, since DELTREE has a lot of deleting power, it makes the user type out the whole command. ****************************************************************************** Problems, questions or suggestions: Jonathan C. Baker Naval Surface Warfare Center Code N86 Dahlgren, VA 22448-5000 703-663-8705 system_jb@128.38.14.201 system_jb@unode1.nswc.navy.mil