home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Best Objectech Shareware Selections
/
UNTITLED.iso
/
boss
/
busi
/
invo
/
010
/
sstpatch.doc
< prev
next >
Wrap
Text File
|
1991-08-28
|
5KB
|
120 lines
TypeRight Corporation
336 Swain Blvd.
Greenacres, Florida 33463-3342
(407) 969-3643
SSTPATCH
Copyright (C) - All rights reserved
Program For Patching Microsoft Quick Basic EXE Files With "Customer
Name, Date & Serial Number"
COMMAND FORMATS
---------------------
For Full Screen Menus & Help Screens, enter...
SSTPATCH <...Hit "Enter">
--------------------------------
For "FAST" operation from the DOS Command line, enter...
SSTPATCH/filename/Someone's Name/12345 <...Hit "Enter">
The above command would Patch the file called "FILENAME.EXE" with
a name of "SOMEONE'S NAME" & a Serial Number of "12345".
When running from the Command Line, the following rules apply.
- "EXE" File Names are limited to a maximum of 8 characters.
- Registered Names are limited to a maximum of 30 characters.
- Serial numbers range from 1 through 99,999 (5 character max).
------------------------------------
SOURCE CODE PREPARATION FOR PATCHING
The instructions on how to prepare your source code for patching
are located in a Basic Source code file named "SAMPLE.BAS".
"SAMPLE.BAS" is saved in ASCII format, and can be read in the same
manner as any other "DOC" or text file.
"SAMPLE.BAS" is written as both instructions and a demonstration
program. If you have Quick Basic, you can load, run and compile
"SAMPLE.BAS". For those who do not have Quick Basic, we have already
compiled the same program into "SAMPLE.EXE" for you.
"SSTPATCH" has two methods of patching EXE files. One will patch a
single EXE file, and the other will automatically patch and prepare
multiple disks for mailing (eg: for sending updates or demos).
To try out the "SSTPATCH" program, run "SSTPATCH". Then...,
- Choose Menu Selection "A" (Patch By Hand) from the first menu.
- Name "SAMPLE.EXE" as the file to be patched.
- Enter any name in the "Customer Name" field.
- Enter any number in the "Serial Number" field.
"SSTPATCH" will then patch those entries into SAMPLE.EXE, which
(when run) will display the new patch entries you just entered.
Sample.Bas shows you how to do the same thing to any of your own
Quick Basic source codes. It's Simple!
We specify "Quick Basic" EXE files because we ARE positive that
SSTPATCH will work with them. We are NOT positive if SSTPATCH will
work with EXE files created by other programming languages, as there
are several types that Users have informed us that it WON'T work with.
We suggest that you "Try-It-Out" and see if it works with your EXE's.
To try out the "Automated" multiple disks method of patching,
choose Menu Selection "B" from the first menu.
- Place a blank "FORMATTED" disk in drive A:
- Name "SAMPLE.RAN" as your "SST" input Name & Address file.
- Name "SAMPLE.EXE" as the file to be patched.
- Answer "Y" (for Yes) to all of the other menu questions.
"SSTPATCH" will read the names and addresses from the "SAMPLE.RAN"
file. If the record has no serial number, is marked "DELETED", or has
no entry in the "Last Name" field, it will be skipped (no patch made).
All other records will be patched and processed.
"WHO.DAT" & "DO.DAT" Files:
"WHO.DAT" is a hidden ASCII (text) file that will be created
on the disk in drive A:. It will be a maximum of 30 bytes long, and it
will contain the name that was patched into the "EXE" file.
"WHO.DAT" is "hidden", which means it will not appear in disk
directories and most customers will never know it's there. But YOU can
avoid getting disks mixed up by simply reading "WHO.DAT" with the
command "TYPE A:WHO.DAT" (this is a "blessing" with archived files).
"DO.DAT" is another ASCII (text) file which YOU create. It
contains a list of commands you wish to have "SSTPATCH" perform for
handling the "bulk" mailing of many disks.
"DO.DAT" should contain commands pertaining to "Formatting
disks, Archiving files, Re-dating files, Copying files and so on. Of
course, all files referenced by your command lines must be in your
default directory or path.
"DO.DAT" can be created with any ASCII text editor, and can
contain up to nine separate command lines. Each command can be any
length necessary (up to 256 characters) and should be entered in the
order in which you want each command to be processed.
To get an idea of how this works, read the sample "DO.DAT"
file which we have included with this package.