home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 18 REXX
/
18-REXX.zip
/
renqwk.zip
/
RENQWK.DOC
< prev
Wrap
Text File
|
1993-11-06
|
5KB
|
142 lines
RENQWK V1.0
WHAT "RENQWK" DOES
RENQWK is a OS/2 REXX exec that will rename all the QWK packets that you
have in your specified QWK directory. The new name will consist of a
user-specified abbreviation for the BBS's QWK packet, followed by the
date that it was downloaded on. I'll show you how to configure RENQWK
to do this later, but first I'll show you a quick example of how it
works.
Before you run RENQWK, the directory that contains your QWK packets may
look something like the following:
11-06-93 1:33p 346728 0 allfiles.zip
11-05-93 7:07p 125902 0 b-beard.qwk
11-06-93 5:27p 87922 0 b-beard.qw1
11-06-93 7:00p 79904 0 b-beard.0
11-05-93 4:02p 134967 0 doors.qwk
11-06-93 8:01p 225948 0 doors.0
11-06-93 8:15p 85624 0 doors.1
11-06-93 6:24p 136400 0 farther.qwk
11-06-93 6:45p 56674 0 farther.0
11-06-93 6:56p 26674 0 farther.1
11-05-93 11:42p 23939 0 spos2.zip
After you run RENQWK, the directory that contains your QWK packets will
look something like the following:
11-06-93 1:33p 346728 0 allfiles.zip
11-05-93 7:07p 125902 0 bb931105.qwk
11-06-93 5:27p 87922 0 bb931106.qwk
11-06-93 7:00p 79904 0 bb931106.qw1
11-05-93 4:02p 134967 0 dr931105.qwk
11-06-93 8:01p 225948 0 dr931106.qwk
11-06-93 8:15p 85624 0 dr931106.qw1
11-06-93 6:24p 136400 0 fr931106.qwk
11-06-93 6:45p 56674 0 fr931106.qw1
11-06-93 6:56p 26674 0 fr931106.qw2
11-05-93 11:42p 23939 0 spos2.zip
To more easily compare the changes, here are the names of the files
side-by-side, before and after running RENQWK:
BEFORE AFTER
------------ ------------
allfiles.zip allfiles.zip
b-beard.qwk bb931105.qwk
b-beard.qw1 bb931106.qwk
b-beard.0 bb931106.qw1
doors.qwk dr931105.qwk
doors.0 dr931106.qwk
doors.1 dr931106.qw1
farther.qwk fr931106.qwk
farther.0 fr931106.qw1
farther.1 fr931106.qw2
spos2.zip spos2.zip
As you can see, RENQWK does not mess with non-QWK files. It ONLY renames
those files with an extension beginning with:
.QWn, where n is a number 0 through 9
or
.n, where n is a number 0 through 9
Also, you can see that if you have downloaded a file from the same BBS
on the same day, RENQWK will take care of automatically incrementing the
.QWK extension as .QWn, where again, n is a number 0 through 9.
HOW TO INSTALL AND CONFIGURE "RENQWK"
To install RENQWKJ, Unzip RENQWK.ZIP into a subdirectory that is on your
OS/2 PATH. You should then see the following files:
RENQWK.CMD is the REXX program.
RENQWK.DOC is the documentation you're reading now.
RENQWK.CFG is the configuration file.
You MUST modify RENQWK.CFG in order for RENQWK to run on your system.
RENQWK.CFG can be modified with any ASCII text editor. An example of
the RENQWK.CFG contents follows:
D:\COMM\DOWNLOAD
FANTASY! = FY
FARTHER = FR
DOORS = DR
EXTRA = EX
B-BEARD = BB
The first line MUST contain the directory where your QWK are located.
In the RENQWK.CFG file above, this directory is "D:\COMM\DOWNLOAD".
The second and all other lines contain the abbreviations that are used
when renaming each BBS's QWK files. You may specify any two letters
for the abbreviation that you like. For example, if a BBS's QWK files
are called "FANTASY!.QWK", then RENQWK will rename the file using the
prefix of "FY" when renaming the file, based on the information
contained in the second line of the example RENQWK.CFG file above:
FANTASY! = FY
If RENQWK finds a QWK file that does not have an entry in the RENQWK.CFG
configuration file, it will still rename the file, but prefix it with "UN"
for "unknown." If you see an entry renamed in this way, it is a signal
to you to add this a line for this BBS to the RENQWK.CFG file.
Finally, if you wish to execute RENQWK from any subdirectory other than
the subdirectory that contains your RENQWK.CFG file, you must set an
environment variable that tells RENQWK where to find the RENQWK.CFG
configuration file. This may be done by adding a line to your CONFIG.SYS
file as follows:
SET CMDDIR=d:\dir
where "d:" is the drive you installed RENQWK on, and
"\dir" is the subdirectory where you installed RENQWK on
For example, on my system, I installed RENQWK in the subdirectory
"D:\CMD", so I've set the environment variable as follows:
SET CMDDIR=D:\CMD
HOW TO RUN RENQWK
Once you have RENQWK configured, all you have to do is type
RENQWK
on any OS/2 command line. That's it. It will then rename your QWK
files, and then tell you how many files were renamed.
RENQWK is FreeWare--enjoy.
Steve Allen
Altech Computer Services
121 Herta St.
Easley, SC 29640
(803) 234-5071
Nov 93
/* end of RENQWK.DOC */