home *** CD-ROM | disk | FTP | other *** search
-
- Thank you for using DELDIR.
-
- NO PART OF THE BINARY OR SOURCE CODE OF THIS PROGRAM MAY BE MODIFIED OR
- REVERSE ENGINEERED IN ANY WAY WITHOUT THE AUTHORS EXPRESS PERMISSION !!
-
- This is the help screen (obtained by running DELDIR without any arguments
- on the command line.) I think it pretty much says it all.
- _______________________________________________________________________________
-
- DELDIR - A safe recursive directory & file removal program.
- Copyright (C) 1992 Shiraz Kanga. All rights reserved. No warranties provided.
-
- Usage: DELDIR <directory> [ <safety level> ]
-
- This program enables you to remove an entire branch of the directory structure
- in one fell swoop by recursively deleting all of it's files and subdirectories
- Since this is potentially risky operation there are three levels of safety
- built in, which may be specified as an argument on the command line.
-
- Level 1 is the safest. It will prompt you before deleting any directory or file
- It is much safer than even the DOS del *.*, but slower.
- Level 2 is faster. It prompts you before deleting directories but not files
- Quite safe and fast enough. My personal favorite
- Level 3 is the fastest. It will delete files & directories without any prompts
- Very destructive and fast. Good for use in batch files.
-
- Level 1 is the default if no safety level is specified.
-
- As a safety precaution DELDIR may not be invoked on the root directory.
-
- Eg: DELDIR C:\XX\YY 3 Removes the directory's contents without any prompts.
- DELDIR YYY 1 Removes directory yyy with complete prompt protection.
-
- ERRORLEVEL: 0 on success, -1 on failure. Press any key to continue.
- _______________________________________________________________________________
-
- I do NOT warranty this software to be suitable for any purpose whatsoever.
- Use it at your own risk. I will not be liable for any losses.
-
- This program is SHAREWARE. It was developed using Turbo C ver 2.0 on a PC clone
- with an 8088 cpu 640K ram, 2 floppy drives & NO hard drive - believe it or not.
-
- YES !! This impoverished student needs your support.
-
- A contribution of $10 will be greatly appreciated.
-
- I will also accept your old hardware/software (In working condition - I hope)
- Eg: Drives, boards, monitors, compilers, OSes & even complete systems. ;-)
-
- Please send in your contributions to:
-
- Mr Shiraz Kanga
- 568 Atlantic Avenue, Apt #3
- Brooklyn, NY 11217
-
- Internet: skanga@prism.poly.edu Hollernet: (718) 237-5876
-
- Complete C source code available for US $18 + media/shipping/handling
-
- Thank you for supporting the concept of shareware.
- ________________________________________________________________________________
-
-
- And this is a section of comments from the beginning of the source code
- of DELDIR (if you are interested)
-
-
- /************************************************************************
-
- This program deletes a directory and its subdirectories by recursively
- removing its files, and then the directory itself.
-
- The directory tree is traversed in a depth first search ( DFS ) order.
-
- It returns an error code -1 if it fails, or 0 if everything is OK
-
- To be added: support for wildcards
-
- ************************************************************************/
-