home *** CD-ROM | disk | FTP | other *** search
- ndel(tm) v0.0
-
- This program will delete all the files except the ones that you tell
- it not to.
-
- Examples:
-
- ndel -x bat
-
- Will delete all files in the current working directory except those with
- an extension of bat, ie all but *.bat
-
- ndel -x bat sys
-
- Will delete all files in the current working directory except those with
- an extension of either bat or sys, ie all but *.bat or *.sys
-
- ndel -x b*
-
- Will delete all files in the current working directory except those with
- an extension of b*, ie all but *.b*
-
- ndel -x b* c*
-
- Will delete all files in the current working directory except those with
- an extension of either b* or c*, ie all but *.[bc]*
-
- ndel -f config
-
- Will delete all files in the current working directory except those with
- a filename of config, ie all but config.*
-
- ndel -f config autoexec
-
- Will delete all files in the current working directory except those with
- a filename of either config or autoexec, ie all but config.* or autoexec.*
-
- ndel -f c*
-
- Will delete all files in the current working directory except those with
- a filename of c*, ie all but c*.*
-
- ndel -f c* b*
-
- Will delete all files in the current working directory except those with
- a filename of either c* or b*, ie all but [cb]*.*
-
- Finally, you can combine to the form:
-
- ndel -f c* -x b*
- or
- ndel -x b* -x c*
-
- Will delete all files in the current working directory except those with
- a filename of c* or an extension of b*, ie all but c*.* or *.b*
-
- NOTE:
-
- ndel will not delete directories or system files. So if you, being naive
- and trusty, were to try ndel -f config autoexec in your root directory,
- would not delete your subdirectories or your io.sys and msdos.sys.
- You would however, delete your command.com. After typing in the above
- example, I sys-ed a copy of root directory on my C drive to my E logical
- drive, and it did delete command.com, but left all autoexec.*, and
- config.* files, along with io.sys, msdos.sys, and the one subdirectory
- I had.
-
- ndel will not warn you if it is going to delete something, it will just
- do it.
-
- __You are responsible for knowing what you are doing with this tool.__
-
- (See the disclaimer in ndel.c).
-
- The executable version of ndel included in this distribution was
- compiled with Turbo C++ v1.0. There is no c++ code in it though.
- The executable was complied with the -v -M -f- -ml -1- options.
- Thus it should run on any XX86 system. If not, compile it yourself.
-
- FILES INCLUDED IN THIS DISTRIBUTION
-
- -- ndel.c v0.0, all you need, besides a compiler,
- to do it yourself
- -- ndel.doc this file
- -- ndel.exe v0.0, an executable form of ndel.c v0.0
-
- __You are responsible for knowing what you are doing with this tool.__
-
- (See the disclaimer in ndel.c).
-
- Finally:
-
- While I included the source, I am not giving it away. I reserve all
- rights to it. Feel free to copy it, modify it, and distribute it.
-
- Don't feel free to charge anyone for it though. I'm not asking anyone
- for any money for it, I wrote it for myself. If you get any use out
- of it, and really feel that you should send me money, please do either
- one of the two following actions:
-
- 1) Send the money to some Shareware Author whose work you really
- admire. I'm sure that I used their product at one time.
-
- 2) Find a charity you whose work you admire. I'm sure that they
- can use your money more than I could.
-
- Also understand though that I am not responsible for any modifications
- made by anyone else. I am also not responsible for any damages
- incurred by this product. I have used it on my own machine, and I
- wouldn't distribute it if it had caused serious harm to my disks.
-
- Constructive critisms, or bug reports, can be sent to tdh@drd.com
-
- COPYRIGHT: This program is the sole property of Thomas D. Haynes.
- Copyright 1991.