mdel v1.1
===========================================================================
Copyright (c) 1997-1998 Magnus Bck
http://jpl.ml.org/~magnus/mdel.html
baeck@swipnet.se
===========================================================================

1. Purpose
2. Syntax
3. Known issues
4. Revision history
5. Downloading
6. Notes on distribution

===========================================================================
1. Purpose
===========================================================================

Deletes the files received from stdin, one file per line. The Win32 version
can, optionally, send the files to the recycle bin instead.

===========================================================================
2. Syntax
===========================================================================

DOS: MDEL.EXE [/?] [/F]
Win32: MDEL32.EXE [/?] [/F] [/R[ECYCLE]]

/? displays a brief help screen, /F forces deletion of read-only files and
/RECYCLE (or just /R) sends the file(s) to the recycle bin. The latter is
only available under Win32.

===========================================================================
3. Known issues
===========================================================================

Due to the Win32 API call SHFileOperation() that takes care of the file
recycling, full path must be given for the files to recycle - no relative
paths are allowed (a bit lazy by me, but I don't think this will be much of
a problem). You can, however, omit any path specification and only input
the file names. Then the current directory will be assumed. This only
applies to the Win32 version when file recycling is used.

mdel was developed and tested with Borland C++ 5.01 but should also compile
with earlier BC++ compilers. It has not been tested with a compiler from
another vendor.

===========================================================================
4. Revision History
===========================================================================

1.1 (Aug 19th 1998)

   * /F switch was added to make it possible to delete read-only files.
   * Sub-directories are now deleted. If the directory is non-empty, it
     will only be deleted if recycling is used.
   * Files with foreign characters are now deleted instead of rendering an 
     error message (this with accomplished by making a call to 
     SetFileApisToOEM() at program startup)

1.0 (Jan 31st 1997)

Initial release.

===========================================================================
5. Downloading
===========================================================================

   * MDEL110.ZIP (50 kB) from JPL Solutions, Sweden.
     http://jpl.ml.org/~magnus/files/mdel110.zip
     ftp://jpl.ml.org/users/magnus/mdel110.zip
   * MDEL110.ZIP (50 kB) from Tele2, Sweden.
     http://home2.swipnet.se/~w-22337/mdel110.zip
   * MDEL110.ZIP (50 kB) from GeoCities, U.S.A.
     http://www.geocities.com/SiliconValley/5159/mdel110.zip

===========================================================================
6. Notes on distribution
===========================================================================

mdel is freeware and is licensed for any use; private, commercial or
governmental. It may also freely distributed on any electronic media as
long as nothing is charged for it, except for nominal copying costs. If you
upload it to an FTP och WWW site or some other service, such as BBSs (which
I do encourage), I would appreciate if you'd notify me. The source code may
also be modified but the original copyright must still remain (but can of
course be accompanied by your own if you do modify the source code).

[End of README.TXT]
