DELTREE, Utilities, Directory Tree Deletion DELTREE 1.2 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. Runs on VAX and AXP. 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) (mod) Handle identifiers and ACLs. 2) (mod) Display the file name you cannot delete due to insufficient privileges instead of the directory you are attempting to delete. 3) (mod) Display the file name you cannot delete due to already locked status instead of the directory you are attempting to delete. ****************************************************************************** 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/VAX 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 N83 Dahlgren, VA 22448-5000 703-663-8705 jbaker@nswc.navy.mil