home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Phoenix CD 2.0
/
Phoenix_CD.cdr
/
01e
/
mop122.zip
/
MOP122.DOC
next >
Wrap
Text File
|
1990-10-19
|
6KB
|
143 lines
MOP
Copyright 1989-90
by
William C. Scott
MOP was originally a utility designed to replace multiple utilities for
deleting or 'mopping-up' files in a directory after extracting files from
an archive.
MOP now may be used to clean up a directory through the use of directory
listings of files in any DOS pathname, including those that end with the
archive specified below. The user specifies a path to the filenames he
wishes to delete from the current directory.
MOP works using ARC, ZIP, LZH, PAK or ZOO files, or the filenames from a a
specified DOS path.
MOP then deletes those files found from your current directory after you
look at and verify them in a window. The window may be defeated with the
/v switch when MOP is run.
USING MOP:
To simplify your life, place MOP in a location your PATH recognizes, so you
can use it wherever you want.
Make sure you are in the directory in which you want to delete files and
type:
MOP [SOURCEPATH\]FILENAME.EXT [/v] [/d]
SOURCEPATH - is the PATH to the directory containing the ARCHIVE(s) or
files you wish to use. The default PATH is whatever directory
you are in.
To use a directory as the path to filenames to delete, you must
finish the pathname with a '\'. Otherwise, MOP thinks it is
looking for an archive file on which you didn't place an
extension.
FILENAME - may be the name of an archive, in which case you may provide
some sort of extension (*,arc,zip,zoo,pak,lzh) or an asterisk
('*') in which case all archives of all names and types will be
used. If no extension is provided, MOP will look for all files
that have have any of the archive extensions.
EXT - may be one of the supported archive types (arc,zip,zoo,pak,lzh)
OR it may be an asterisk ('*') or left blank, in which case all
types of archives matching the supplied FILENAME will be
searched and used.
'*' - (ONLY ... no extension) to delete all files matching filenames
listed in ALL .ZIP, .ARC, .PAK, .LZH and .ZOO libraries found
on the PATH you specified. Checking for the asterisk also
involves checking for a '.' in the command line parameter, so
'*.' will cause no action to occur.
/v - prevents you from previewing the files that are about to be deleted
and mark any you wish to retain. Use of this feature is discouraged
until you have the hang of using MOP ... after that, it will save you
time.
/d - will suppress the elimination of duplicate filenames from the
verification display window. If you are using multiple archive
files the same file, such as README or whatever is likely to be
found a number of times. By default, MOP does not display each
occurence of the file as it finds it ... but there may be cases
where you are interested in finding out if you have the same
file in different archives. In that case, it is convenient to
use MOP for a quick check.
Entering a SourcePath allows all succeeding FILENAMEs to be looked for
in the same directory. Entry of another SourcePath causes all filenames
that follow to be looked for in the last entered SourcePath.
Example: From root directory of drive C you enter ...
MOP a:foofile.arc double.zip c:\dos\flipflop.lzh *.arc
... causes the following ...
'foofile.arc' and 'double.zip' are searched for in root directory
of drive A.
'flipflop.lzh' and all files with an '.arc' extension are looked
for on drive C in the DOS directory.
All files found in the directories of those archive files and/or paths are
checked against presence in root directory of drive C. Any matches are
shown in a verify window and deleted when you press <ENTER> unless you
specifically mark them to be retained.
BOTH the internal masks (ARC, PAK, ZIP, ZOO, LZH) and the external masks
(the ones you enter on the command line) CANNOT BE USED together. Using
one disables the other one.
When you don't defeat the preview option of MOP, you may mark the files
you wish to retain by placing the selector bar on the file and pressing
<SPACEBAR>. Files marked in this manner won't be deleted.
Copyright notice:
MOP is copyright 1989 by William C. Scott. All rights reserved. No resale
of MOP is permitted.
Policy:
MOP is not public domain software ... however there is no fee for using
it or the source code if you purchase that. Copyright is retained only
to discourage changing of the MOP code and calling the resulting program
MOP. Source code is available for a $10 fee to cover cost of incidentals
from the party below :
William C. Scott
PO Box 474
Coalgate, OK 74538
or
Coalgate BBS - (405) 927-2541
24 hr operation
Using US Robotics HST 14.4 modem supporting
* 14.4/9600/2400/1200/300 baud
8-N-1
* Download on first call.
Get latest versions of MOP, PMCAT, LABELLE.
* Registered users will have access to special file areas for
registered copies of the latest version of their program.
* Over 135 megabytes of PD and shareware for the IBM & compatible
computer.
I encourage you to contact me with any suggestions or comments you have
concerning MOP.