home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frostbyte's 1980s DOS Shareware Collection
/
floppyshareware.zip
/
floppyshareware
/
GLEN
/
FILEREV.ZIP
/
FILEREV.DOC
next >
Wrap
Text File
|
1990-11-24
|
4KB
|
103 lines
FILE REVIEWER
by Jim Percic
FILE REVIEWER was designed to assist in purging old files from a
directory in your hard drive. FILE REVIEWER will list to the
screen a file or a series of files matching specifications you
give it. When a file is displayed, you then can choose to delete
or keep the file. FILE REVIEWER was designed to permit batch
operations and to combine the listing of the file with the
decision to delete or not delete. As such the syntax is:
FILEREV filespec [filespec] [filespec] . . . [/m]
Up to eight separate file specifications (filespecs) can be given
and each filespec can include the "*" and "?" wildcards. You
can, for example, enter the following command:
FILEREV *.bak file.* filerev.doc
The program will list in succession all files with the .bak
extension, then all files with the file name and any extension,
and then filerev.doc (this file). This permits examination and
processing of a large number of files at one time. If FILE
REVIEWER is entered with no arguments or with nine or more
arguments, the program exits with a help message.
Once a file has been selected, the first 18 lines are displayed
on the screen. Certain characters have been converted to spaces,
such as ^G (the bell character) and ^H (the backspace character),
to avoid noise and screen disruptions. In addition, FILE
REVIEWER ignores ^Z (the End of File [EOF] marker) completely.
This permits FILE REVIEWER to examine word processing files and
executable files. Word processing programs such as WordStar
2000+ and MultiMate place formatting information in a header that
is separated from the main text by an EOF, which is why using the
TYPE command does not display the entire file.
The program should adjust for monocrome monitors. If not, try using
a "/m" at the end of the command line. In this case, you can only
have seven filespecs. The "/m" must be the last argument.
When the first eighteen lines have been displayed, the following
commands can be given. FILE REVIEWER ignores all other
keystrokes. The commands are:
D - Pressing <D> will delete the displayed file. Before the file
is deleted, FILE REVIEWER will ask for confirmation. Press
<Y> to delete the file. Any other key will stop deletion.
After a file is deleted, the next matching file will be
displayed.
Page 2 FILE REVIEWER Documentation
K - Pressing <K> will keep (not delete) the displayed file and
display the next matching file.
Spacebar - Pressing the spacebar will scroll the next 18 lines of
the file to the screen. Upon reaching the end of the file,
FILE REVIEWER displays a message saying "* END OF FILE *".
The next press of the spacebar will scroll the file again
from its beginning.
R - Pressing <R> will start the display of the selected file from
its beginning.
? - Pressing <?> will display a help screen. Pressing any key
will return you to the file display.
Esc - Pressing <Esc> will exit FILE REVIEWER completely from that
point.
FILE REVIEWER will notify you with an error message if it is
unable to locate a file matching the specification you give or if
it is unable to delete a file.
I have placed FILE REVIEWER in the public domain. Try it. If you
like it, use it. If not, don't use it. In either event, pass it on
to others to enjoy.
I wrote FILE REVIEWER to meet a specific need. Where I work, the
staff had a lot of word processing files cluttering a 20 mb hard
disk. I tried to find a program that would allow someone to view a
file and decide while viewing it to delete it in one step. The only
programs I found worked with ASCII files and stopped processing at
the first Ctrl-Z they found. Some word processors use the Ctrl-Z
to separate the header with the formatting information from the
actual text. For these files, the programs don't work.
FILE REVIEWER was developed using PowerC by MIX Software.