home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Current Shareware 1994 January
/
SHAR194.ISO
/
email
/
nfile13b.zip
/
NEWFILES.DOC
< prev
next >
Wrap
Text File
|
1993-10-30
|
6KB
|
137 lines
NEWFILES v1.3B
(c) Copyright Keith Treichel Aug 11, 1992
*Modifications (C)Copyright Oct-31-1993 Geoffrey Liu
*Lines that begin with an * is my (Geoffrey Liu) addition to NEWFILES
*1.3 documentations.
■■■ FIRST THINGS FIRST ■■■
This is my first contribution to the world of FREE/SHAREWARE. If you use
this program at all, I would like to hear from you, just to give me an
indication of how far these programs are distributed and how many people
would use them. (C'mon folks, I have only received two messages from you. All
I want is 'Hi, I'm using it, Keith!')
*Since Keith is not a member of CRS anymore, sent a message to me,
*Geoffrey Liu, and I'll sent them to Keith.
Any suggestions or criticisms (hopefully constructive) would be appreciated
as well.
■■■ INTRODUCTION ■■■
I always download the list of new files with my QWK mail packet.
Unfortunately, it is never just the list of new files that were uploaded
since the last time I downloaded my mail. The file always contains many
files that I have already read about in a previous packet. Wading through
the list of files is a strenuous task at best. Many times it is over a
thousand lines long!
NEWFILES is a small utility that takes two files as input. The first is a
new NEWFILES.DAT pkunziped from your latest mail packet, and an old
NEWFILES.DAT pkunziped from your previous mail packet.
When you run NEWFILES on these two files, you get a listing of the files
that are unique in your latest download, ie. all the files that are found
in the old newfiles.dat are deleted from the listing.
■■■ RUNNING THE PROGRAM ■■■
Here is a quick summary of how to use this program.
1. PKUNZIP your latest CRS.QWK file and save the NEWFILES.DAT
file as a unique name (NEWFILE.NEW comes to mind).
2. Ditto for your previous QWK packet. Mine is always called
CRS1.QWK. Save its NEWFILES.DAT as, say, NEWFILES.OLD.
3. Enter the command...
nfiles newfiles.new newfiles.out > x.x
4. Now you can examine x.x for the list of new files uploaded to
the bulletin board since the last time you downloaded some mail.
Included in this package is NEW.BAT, which will do all of the above for you
automatically. It ASSUMES you have a \JUNK\NEW and \JUNK\OLD directory on
your hard drive, and that NFILES.EXE is available somewhere in your PATH
statement. It also ASSUMES that your QWK mail packets are located in a
directory called \DOWN. (I wrote this BAT file for my own machine. You can
edit it to match your own setup.)
Give NEW.BAT two parameters, the new QWK and the old QWK, e.g.
new crs.qwk crs1.qwk
■■■ INCLUDED IN THIS PACKAGE ■■■
NEW.BAT - Batch file to do all the unpacking of your QWK
files. You will have to edit this to match the
directories you want to use on your system.
NEWFILES.DOC - You are reading it!
NFILES.EXE - The program itself. Put it in a directory that is
found in your DOS PATH statement. (I put mine in
C:\APPS.)
* OR put it in your reader directory
* NFILE386.EXE - This is the 386 version of NEWFILES, there is
* no difference in operation, except an
* improvement in speed. Only run this if you have a
* 386 or better. If you are using this version,
* rename it to NFILES.EXE or substitute NFILE386
* into the NEW.BAT.
■■■ Last Words ■■■
This started off as a quick and dirty utility. It took me all of one hour
to write it. Since then I have tidied things up a bit, fixed the
statistical display, and reduced the memory requirements. If you find any
bugs with the program, please tell me about them. I grab mail from CRS
(Mississauga) almost every day, so just leave me a message in the Main
Board or IBM section. If this program has found it way to Timbuktu, then
talk to me via InterNet at 'keith.treichel@canrem.com'
*As I've said before, Keith is not a member of CRS anymore, so you can leave
*mail to me (Geoffrey Liu) on CRS main board, NAnet IBM conf,
* Fido NETMAIL 1:229/15, RIME ->CRS, and using the internet,
* geoffrey.liu@canrem.com
■■■ LEGAL STUFF ■■■
Sorry, I gotta say it, but...
NEWFILES is being distributed as Freeware. Feel free to make copies of it
and distribute it, so long as no fee is charged for the program itself.
NEWFILES is copyrighted material and may not be modified in any way, shape,
or form, without the authors' consent.
DISCLAIMER:
UNDER NO CIRCUMSTANCES SHALL THE AUTHORS BE RESPONSIBLE FOR ANY DIRECT OR
INDIRECT DAMAGE DUE TO USE OF THIS PROGRAM. NO WARRANTIES, EITHER
EXPRESSED OR IMPLIED, ARE GIVEN.
■■■ MOD HISTORY ■■■
v1.0 20Mar92 Initial release.
v1.1 01Apr92 Check for malloc added.
Improved check for valid file names in NEWFILES.DAT
Added "# of duplicates found."
v1.2 28Apr92 Reduced memory requirements by not reading the OLD file
into memory.
Uploaded, since the 1.1 upload didn't work anyway!
v1.3 11Aug92 Fixed up the EXIT statements so they return ERRORLEVEL 0
if everything is OK, ERRORLEVEL 1 if something went
wrong. (An error message goes to STDOUT if there was a
problem.) Thanks to Jan Nolan of Montreal for pointing
this problem out to me!
v1.3a 2Feb93 Modifications complete by Geoffrey Liu of Unionville.
Now works with Deluxe2 1.25 Newfiles downloader.
Maximum # of files at about 1200.
v1.3b 31Oct93 Maintance release by Geoffrey Liu. Recompiled and
optimized for faster speed and now have 386 version.
386 version has about a 20% increase in speed over 1.3a