home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 6 File / 06-File.zip / GDEL12.ZIP / GDEL.DOC next >
Text File  |  1990-11-23  |  3KB  |  88 lines

  1.  
  2.  
  3.  
  4.                                Global Delete
  5.             
  6.                                     by
  7.  
  8.                                Paul Martin
  9.  
  10.  
  11. GDEL.EXE is a program that will allow you to search and delete files
  12. in your subdirectories.  GDEL operates in two modes, the first will
  13. just delete files matching a specification in the specified 
  14. directory or current directory and all subdirectories below and the
  15. second mode will remove empty directories as it finds them while it
  16. is recursively searching for the pattern specified.  This means that 
  17. you could tell GDEL to delete all files with the .BAK extention while
  18. leaving empty subdirectories intact or you could delete the directory
  19. D:\TEMP and all subdirectories below it.  Since this command is so
  20. very distructive, you will recieve a verification prompt of what is
  21. about to be searched for and deleted where you will have a chance to
  22. abort the command.
  23.  
  24. The format of using GDEL is:
  25.  
  26. GDEL <Directory or Search Pattern> /R
  27. where /R will allow GDEL to delete empty directories
  28.  
  29. Some examples of using GDEL are:
  30.  
  31. GDEL A:\*.BAK        Will delete all of the .BAK files found on A:
  32.        
  33. GDEL TEMP /R         Will delete the directory named TEMP and all
  34.                      files and subdirectories below TEMP
  35.  
  36. GDEL C:TEST\*.$$$    Will start searching for files in the TEST directory
  37.                      with the $$$ extention and delete them
  38.  
  39. GDEL.EXE was written in "C" and is a bound executable.  This means it
  40. will run under OS/2 and DOS.
  41.  
  42. GDELP.EXE is a protected mode of GDEL.EXE and will only run under OS/2.
  43.  
  44. Feel free to distribute this program and make as many copies as
  45. your heart desires, but you must not alter the program in any way
  46. and you must distribute this documentaion file unaltered.
  47.  
  48. If you are still using this utility after two weeks of evauluating
  49. it, I require a $15.00 registration fee.  Registering will allow
  50. you access to future updates of GDEL for up to one year.
  51.  
  52. Please send a check or money order to:
  53.  
  54. Paul Martin
  55. 901-A Ohio Pike
  56. Cincinnati, Ohio
  57. 45245
  58.  
  59. You can also register On-Line at the CCC Bulletin Board with
  60. VISA or MasterCard by calling:
  61.  
  62. (513)752-8248 (9600 Baud HST)
  63. (513)752-1055 (1200-2400 Baud)
  64.  
  65. CCC BBS has 2.3 Gigs of PD Software and 9 nodes online runnning PC-Board.
  66.  
  67. If you find any bugs or have any questions, you can reach me 
  68. on CCC BBS or through USENET at pmartin@uceng.uc.edu.
  69.  
  70. **************************************************************************
  71. * Revision List                                                          *
  72. **************************************************************************
  73.  
  74. Revision 1.1  08/28/89
  75.  
  76. Ooops!  A bug got out the door.  The root paths were not being 
  77. parsed correctly.  Fixed!  I should have tested that new function
  78. better.  Oh well, live and learn.  Also added logic to display the
  79. filenames as they are deleted, and changed the Y/N prompt to
  80. require a return key after pressing Y or N.
  81.  
  82. Revision 1.2 11/23/90
  83.  
  84. New Parameter /q to delete quietly and not prompt for confirmation.
  85. USE WITH DISCRETION!  
  86.  
  87. {EOF}
  88.