Introduction

CDEL is used to delete mis-placed files automatically.  At first I wrote
it because from time to time I extract a just-downloaded shareware package
into the current directory and all files are mixed up.  It can also be
used to clean up mis-copied files.


Usage

For example: You extract CDEL.ZIP into C:\, there are other important files
like AUTOEXEC.BAT and CONFIG.SYS.  Now, you may extract the archive into a
new subdirectory like C:\NEWTOOL, then execute CDEL.EXE:

        C:\>C:\NEWTOOL\CDEL C:\NEWTOOL

to clean C:\. (In this example, file both in C:\ and C:\NEWTOOL will be
deleted.)

IMPORTANT:  CDEL will ONLY delete files in CURRENT directory! So you must
execute it in the directory you want to clean.  It is a good idea to put
CDEL into your PATH directory.

CDEL also support "DIR-style" filelist.  All files in filelist and appear
in current directory will be deleted.  Note that only "DIR-style" filelist
can be used. That is: only one file per line and filename listed first.
Windows 95 and Windows NT style DIR list are not supported in this version.


Commandline Parameters:

Format:   CDEL [/D /N /P /Q /X] file

          file: comparative directory or filelist to delete.

          /D: Delete different files. Maybe used to synchronize two
              directories.
          /N: Do nothing, just see what will happen.
          /P: Prompt before delete.
          /Q: Quiet, do not display filenames while deleting.
          /X: Do not verify.  Without this parameter, CDEL will check
              file size and time stamps to ensure the files are same.
              Note that if you use "filelist", CDEL will NOT do any
              verify even without /X.
          /?: Display help message.


Contact the author

Any comments, bug reports and advice are welcomed.  The author may be
reached at the following address:

                Mr Xiangrong Fang
                603 2 305 Hetian Rd
                Shanghai 200070
                P R China

or by e-mail:

        Xiangrong Fang <wusong@public.sta.net.cn>
                       <zjfang@fudan.ihep.ac.cn>


Disclaimer

CDEL is provided AS-IS.  The author is NOT liable for any damages may
caused by use or unable to use this software. User comments are welcomed
but NO custom support is guaranteed.
