home *** CD-ROM | disk | FTP | other *** search
- ELIM 1.5
-
- A
- Small program to delete files
- not accessible to DOS Del
- - and -
- Avoid DEL's 'Are you sure?' prompt
-
- by
- Bob Eyer
- [73230,2620]
-
- Feb 6, 1991
-
- CAUTION: Please read the WARNING
- below
-
-
- Syntax:
-
- ELIM filename/wildcard
-
- Discussion:
- ----------
- The main purpose of ELIM is to enable the user to delete files
- which normal DOS DEL or ERASE cannot handle. For example, the
- user may run a poorly programmed utility which accidentally
- creates files which have a blank or other illegal character in the
- filename. DOS DEL will not be able to delete such a file. ELIM
- will solve the problem.
-
- ELIM 1.5, unlike previous versions, will always report on the
- screen what it did to each file, so the user can maintain proper
- control.
-
- Advantages:
- ----------
- ELIM does not prompt the user for confirmation, where a wildcard
- is used. Thus, it is unnecessary to pipe a "y" to DEL in a batch
- file. Just use ELIM.
-
- ELIM supports all DOS wildcard shortcuts. For example, if one
- wishes to delete all the files in the TEST directory, one can do
- that simply by issuing the command
-
- ELIM TEST\.
-
- The following are also legitimate:
-
- ELIM .
- ELIM ..\.
-
- The Enclosed Demo
- -----------------
- Before you try using ELIM, you should run DEMO in a special
- directory containing all the files in this archive, including
- CREATE.EXE. The sole function of the CREATE program is to enable
- the DEMO.BAT file to create a zero-byte file on your disk which
- cannot be deleted by DOS's DEL command. The DEMO shows how ELIM
- does what DEL cannot.
-
- Errors:
- ------
- Error responses always return a DOS error level of 1.
-
- If the user specifies a filename or wildcard to which no files
- correspond, ELIM will return the message "No such file(s)" and an
- error level of 1. If nothing is mentioned as a parameter on the
- commandline, ELIM will return to the user a small help screen and
- an error level of 1.
-
- All other ELIM terminations return an error level of 0.
-
- ELIM's error level returns make it possible to use ELIM in
- automated batch file programs.
-
- WARNING:
- -------
- Avoid using ELIM in preference to DOS DEL, unless you really know
- what you are doing. The designers of DOS deliberately put in the
- 'Are you sure?' prompt on the DEL command for a reason, and that
- reason is that it's better to be safe than sorry.
-
- ELIM is designed to be used by people who know what they're doing,
- not people for whom the 'Are you sure?' prompt was designed.
-
- DISCLAIMER:
- ==========
- This program is circulated as public domain without any guarantee
- or warranty; and the user, by downloading this program, or any
- variant thereof or by receiving it or any of its versions in any
- other form, agrees to accept full responsibility for its use. It
- is therefore understood that the user accepts this program or any
- previous version as is.
-
- Bob Eyer The author may also be reached at
- Compuserve [73230,2620] ROSE MEDIA 416-733-2285 (Main Conf)
- Toronto or
- Canada CANADA REMOTE 416-629-7044 (IBM Conf)
- -------------------------------------------------------------
- End of documentation.