"NO" Version 4.1 - Copyright (c)1993-95 Roy Coates DESCRIPTION =========== "NO" provides a quick and easy method for removing all files of a given type from a disk/volume. This is especially useful for people like programmers who may tend to generate many files with the extension .BAK, or even more so for Network managers whose users may generate a large number of temporary files. I use "No" here at the end of each month to erase all the temporary files left behind by Autocad, Windows, Turbo Pascal, Turbo C, and Word Perfect. It saves us an amazing amount of space. "NO" takes its information from the command line viz:- NO [diskname] [ext] [ext] ... [ext] [switch] [switch] where:- Can be either a dos spec such as C: or a network volume name such as SYS: specifying no disk name will cause the currently logged disk to be used. is a file extension to be erased such as BAK or TMP (up to fifteen file extensions will be recognised) may be either /Y, /O or /D where:- /Y is "Don't prompt for confirmation, I know what I'm doing" /O is Override any ReadOnly or Hidden file protection. /D causes the program to do a 'dummy run' ie: no files will actually be deleted. By default, "NO" will prompt for deletion of each file, will NOT override protected files, but WILL erase files rather than doing a dummy run. The order of file extensions and switches is not important. The switches and extensions may be given in any order. EXAMPLES ======== NO USER: BAK TMP Erase all *.BAK and all *.TMP files on the USER volume except for those which have the READONLY flag set and prompt for confirmation before erasing each file. NO C: BAK /Y Delete all non-protected *.BAK files from drive C: without prompting for confirmation. NO BAK DMP /Y /O Erase all *.BAK and *.DMP files regardless of the ReadOnly flag and without asking my permission. The disk to use will be the currently logged disk. NOTES: ====== 1. "NO" will simply ignore attempts to erase files having the extensions: EXE, OVL, SYS, COM, or * 2. "NO" can handle disks with any number of directories. 3. "NO" has no limit on the number of files on a disk. FINALLY ======= "NO" is freeware for non-profit use, all I ask is that you e-mail me a brief note if you find it useful, or if you have ideas/bug reports etc. roy@mechnet.liv.ac.uk - END -