home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / UTILITY / DIR / NDELV00.ZIP / NDEL.DOC < prev    next >
Encoding:
Text File  |  1991-02-25  |  4.0 KB  |  116 lines

  1.                                ndel(tm) v0.0
  2.  
  3.     This program will delete all the files except the ones that you tell
  4. it not to.
  5.  
  6.     Examples:
  7.  
  8.         ndel -x bat
  9.  
  10. Will delete all files in the current working directory except those with
  11. an extension of bat, ie all but *.bat
  12.  
  13.         ndel -x bat sys
  14.  
  15. Will delete all files in the current working directory except those with
  16. an extension of either bat or sys, ie all but *.bat or *.sys
  17.  
  18.         ndel -x b*
  19.  
  20. Will delete all files in the current working directory except those with
  21. an extension of b*, ie all but *.b*
  22.  
  23.         ndel -x b* c*
  24.  
  25. Will delete all files in the current working directory except those with
  26. an extension of either b* or c*, ie all but *.[bc]*
  27.  
  28.         ndel -f config
  29.  
  30. Will delete all files in the current working directory except those with
  31. a filename of config, ie all but config.*
  32.  
  33.         ndel -f config autoexec
  34.  
  35. Will delete all files in the current working directory except those with
  36. a filename of either config or autoexec, ie all but config.* or autoexec.*
  37.  
  38.         ndel -f c*
  39.  
  40. Will delete all files in the current working directory except those with
  41. a filename of c*, ie all but c*.*
  42.  
  43.         ndel -f c* b*
  44.  
  45. Will delete all files in the current working directory except those with
  46. a filename of either c* or b*, ie all but [cb]*.*
  47.  
  48. Finally, you can combine to the form:
  49.  
  50.         ndel -f c* -x b*
  51.                or
  52.         ndel -x b* -x c*
  53.  
  54. Will delete all files in the current working directory except those with
  55. a filename of c* or an extension of b*, ie all but c*.* or *.b*
  56.  
  57. NOTE:
  58.  
  59. ndel will not delete directories or system files.  So if you, being naive
  60. and trusty, were to try ndel -f config autoexec in your root directory,
  61. would not delete your subdirectories or your io.sys and msdos.sys.
  62. You would however, delete your command.com.  After typing in the above
  63. example, I sys-ed a copy of root directory on my C drive to my E logical
  64. drive, and it did delete command.com, but left all autoexec.*, and
  65. config.* files, along with io.sys, msdos.sys, and the one subdirectory
  66. I had.
  67.  
  68. ndel will not warn you if it is going to delete something, it will just
  69. do it.
  70.  
  71. __You are responsible for knowing what you are doing with this tool.__
  72.  
  73. (See the disclaimer in ndel.c).
  74.  
  75. The executable version of ndel included in this distribution was
  76. compiled with Turbo C++ v1.0.  There is no c++ code in it though.
  77. The executable was complied with the -v -M -f- -ml -1- options.
  78. Thus it should run on any XX86 system.  If not, compile it yourself.
  79.  
  80.                   FILES INCLUDED IN THIS DISTRIBUTION
  81.  
  82.             --  ndel.c  v0.0,  all you need, besides a compiler,
  83.                                to do it yourself
  84.             --  ndel.doc       this file
  85.             --  ndel.exe v0.0, an executable form of ndel.c v0.0
  86.  
  87. __You are responsible for knowing what you are doing with this tool.__
  88.  
  89. (See the disclaimer in ndel.c).
  90.  
  91. Finally:
  92.  
  93. While I included the source, I am not giving it away.  I reserve all
  94. rights to it.  Feel free to copy it, modify it, and distribute it.
  95.  
  96. Don't feel free to charge anyone for it though.  I'm not asking anyone
  97. for any money for it, I wrote it for myself.  If you get any use out
  98. of it, and really feel that you should send me money, please do either
  99. one of the two following actions:
  100.  
  101.     1)  Send the money to some Shareware Author whose work you really
  102.         admire.  I'm sure that I used their product at one time.
  103.  
  104.     2)  Find a charity you whose work you admire.  I'm sure that they
  105.         can use your money more than I could.
  106.  
  107. Also understand though that I am not responsible for any modifications
  108. made by anyone else.  I am also not responsible for any damages
  109. incurred by this product.  I have used it on my own machine, and I
  110. wouldn't distribute it if it had caused serious harm to my disks.
  111.  
  112. Constructive critisms, or bug reports, can be sent to tdh@drd.com
  113.  
  114.     COPYRIGHT:  This program is the sole property of Thomas D. Haynes.
  115.                             Copyright 1991.
  116.