home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Education Master 1994 (4th Edition)
/
EDUCATIONS_MASTER_4TH_EDITION.bin
/
files
/
commadio
/
pyromnt
/
preserve.lzh
/
PRESERVE.DOC
< prev
next >
Wrap
Text File
|
1989-07-16
|
10KB
|
235 lines
┌─────────────────────────┐
╔══╤══╦═╦══╤══╦═╦═╦═════│ P R E S E R V E │═════╦═╦═╦══╤══╦═╦══╤══╗
║ ╔╧╗ ╚╤╝ ╔╧╗ ╚╤╝ ║ └─────────────────────────┘ ║ ╚╤╝ ╔╧╗ ╚╤╝ ╔╧╗ ║
║ ╚╤╝ ╔╧╗ ╚╤╝ ╔╧╗ ║ ║ ╔╧╗ ╚╤╝ ╔╧╗ ╚╤╝ ║
║ ╔╧╗ ╚╤╝ ╔╧╗ ╚╤╝ ║ P I N N A C L E S O F T W A R E ║ ╚╤╝ ╔╧╗ ╚╤╝ ╔╧╗ ║
║ ╚╤╝ ╔╧╗ ╚╤╝ ╔╧╗ ║ P.O. Box 386, Town of Mount Royal ║ ╔╧╗ ╚╤╝ ╔╧╗ ╚╤╝ ║
║ ╔╧╗ ╚╤╝ ╔╧╗ ╚╤╝ ║ Montreal, Quebec, Canada H3P 3C6 ║ ╚╤╝ ╔╧╗ ╚╤╝ ╔╧╗ ║
║ ╚╤╝ ╔╧╗ ╚╤╝ ╔╧╗ ║ ║ ╔╧╗ ╚╤╝ ╔╧╗ ╚╤╝ ║
╠══╧══╩═╩══╧══╩═╩═╩═════════════════════════════════════╩═╩═╩══╧══╩═╩══╧══╣
║ Pinnacle Software makes more shareware than any other company in Canada ║
╚═════════════════════════════════════════════════════════════════════════╝
SYSTEM REQUIREMENTS
───────────────────
A Hard disk and a diskette drive.
DOS 3.3 (Change @ECHO for ECHO in batch file for DOS 2.0 to 3.2).
A copy of the archiving program PKZIP (any other archiver may be used).
WHAT IS PRESERVE?
─────────────────
You may find that the most important part of this package isn't the program
but this text file. I think this will become clear as you read on.
PRESERVE is an alternative to the BACKUP command. Wait! Don't go away!
Even if you have a decent backup utility such as FASTBACK, PRESERVE may be
useful to you.
WHY PRESERVE WAS WRITTEN
────────────────────────
The fact is, most of us don't do regular backups; we just can't be bothered
to spend time making something we may never need. Let's face it: it's
boring!
So we skimp on our backups. Until one day our hard disk dies and we find
that our most recent backup is from last week. (Or last month, or even
last year!) At this point we solemnly vow, "I will henceforth make backups
every single day!"
Yeah, right.
WHAT PRESERVE ISN'T
───────────────────
PRESERVE isn't particularly brilliant, programming-wise. Any jerk could
have put this together. What this particular jerk put together consists of
the following files:
PRESERVE.BAT This is the batch file.
PRESERVE.DOC This is the documentation you're reading right now.
QUERY.COM A "Yes/No" utility to control the batch file.
FMT.INP May be useful to programmers -- see "Modifying PRESERVE".
INSTALLING PRESERVE
───────────────────
Simply copy all the files into a directory that is in your "path". If you
don't know what that means, you'll find an explanation by looking up the
PATH command in your DOS manual. If you don't feel like doing that, simply
copy the files into your DOS directory.
RUNNING PRESERVE
────────────────
The format of the command is: PRESERVE <archive-name>
For example, if you were in the directory C:\BUSINESS\CLIENTS\INVOICES you
might put those files in an archive named INVOICES, on a diskette which has
a gummed label giving you some more details. In this case, the command you
would issue would be: PRESERVE INVOICES
Everything after that should be self-explanatory.
You can also provide a file specification: PRESERVE <archive-name> <spec>
For example, if you wanted to preserve only the .DAT files in your direc-
tory, you could use this command: PRESERVE INVOICES *.DAT
"BIG DEAL!"
───────────
I can't disagree with that remark. Half the people who use PC's regularly
are perfectly capable of making something like PRESERVE. There's only one
problem with that:
They CAN, but they DON'T!
I'm guilty of this! It took me 2 YEARS to get around to writing a little
batch file that would archive a directory to diskette, even though I'm in
the habit of backing up my working directory twice a day!
The problem is, it was such a dinky job that I always said, "Oh, I can do
the steps manually. I don't need a batch file!"
Yeah, but the mind is a funny thing. (Well, my mind is a funny thing; I
don't know about yours.) Because I hadn't "formalized" the process of
doing these mini-backups, I started skimping. And just a few days ago, I
realized that there are lots of little directories that haven't been put on
diskette since my last backup -- which was two months ago!
You know how it is. You figure, "Oh, it's just a little file. No big loss
if I lose it." True, but try losing a couple dozen of those little files!
So it all boils down to this: most PC users should spend some time thinking
about their backup habits. Perhaps you'll find that doing "mini-backups"
is more in tune with your way of working than the traditional way of doing
backups. I DON'T CLAIM IT'S AS GOOD AS REAL BACKUPS! But it's better than
nothing.
If my batch file one day saves you grief, then I think it was worth doing.
Never forget the First Commandment of Computing:
"Save your work every fifteen minutes!"
Maybe the second commandment should be:
"Preserve your working directory on diskette at lunch and quitting time!"
MODIFYING PRESERVE
──────────────────
The main purpose of this software package is to prod you into thinking
about how you do backups. But let's look at how you can modify PRESERVE so
that it's a bit more exciting.
I'm assuming that you know how to operate a text editor and know a bit
about the DOS batch language. If this isn't the case, skip ahead; PRESERVE
works fine the way it is and doesn't HAVE to be modified.
There are two things you may want to change. First of all, you may want to
replace the call to PKZIP with a call to ARC or PAK or ZOO or some other
archiving utility.
You may also wish to replace the FORMAT A: command with this command:
FORMAT A: <C:\WHATEVER\FMT.INP
The FMT.INP file feeds the FORMAT command with all the keystrokes it needs
so you don't have to bother with it. It's a cute little trick that I use
in many of my batch files.
CONCLUSION
──────────
I used to worry about backups. No, I didn't agonize about the fact that my
last full backup was three months old. I didn't lose any sleep. But there
was always that nagging little worry in the back of my mind. Yet another
thing to add to my daily dose of stress.
But these days, I use PRESERVE to back up any important directories I've
modified during the day. It hasn't made me rich, or even more exciting at
parties ... what do you expect from a little batch file? But I like it.
Since PRESERVE got me thinking about backups, I actually made copies of my
irreplaceable source code (such as my Pyroto and Sapphire products) and
took them over to a trusted friend. So now, if my office is ever gutted by
fire, I won't feel the urge to fall upon my sword.
THINK ABOUT IT! Do you have a large file that exists only on your hard
disk? And if you've got it backed up on diskettes, could a major fire get
at it? Do you pay for fire insurance yet expose your valuable data to the
danger of destruction?
FOR MORE INFORMATION
────────────────────
"What?" I hear you say, "More information? What's this guy doing? Start-
ing a PRESERVE fan club?"
No, no. However, Pinnacle Software (my company) is Canada's most prolific
Shareware company. If you think that PRESERVE indicates that my head is
screwed on correctly, I'll send you lots more software. Simply send $25
(certified cheque or postal money order) and I'll mail you a grab-bag of
software. Or call me at (514) 345-9578. Ask for Tim.
The grab-bag includes the following programs:
HLRB Handy Little Reference Books you can tuck into your wallet.
LW Label Wizard: extremely powerful, yet VERY easy to use.
PINNARTX Artwork for ANY PC computer. You won't believe your eyes!
SV What can your video card do? SV will help you find out!
WEED Converts cluttered text files into solid information.
SPACEINV Explore arcade-game psychology! Works on any display (even mono).
PHONEMEM Memory tricks. Endorsed by one of Mexico's top magicians.
SECURE A bogus security system that might scare away a dumb burgular.
And our most controversial program:
LOVEFIRE A spicey adventure game for women! (Or curious men)
OTHER STUFF
───────────
Available separately from Pinnacle Software (call for details):
SAPPHIRE The Zero-Maintenance BBS -- the only system that runs itself.
PYROTO Looks like a BBS, but it's actually a dial-up role-playing game.
Can also be run as a "door" under another BBS.
VORTEX Looks like a BBS, but it's actually a dial-up sci-fi simulation.
Can also be run as a "door" under another BBS.
VARITALE A "door" program: multi-author, multi-path stories.
╔╦╦═╤═╤═╤═╤═╤═╤═══════════════════════════════════════════════╤═╤═╤═╤═╤═╤═╦╦╗
╟╫╫─▓─┼─▓─┼─▓─┼ ╦═══╗ ═╦═ ╦═╗ ╔ ╦═╗ ╔ ╔══╗ ╔══╗ ╦ ╦══╗ ┼─▓─┼─▓─┼─▓─╫╫╢
╟╫╫─┼─▓─┼─▓─┼─▓ ╠═══╝ ║ ║ ║ ║ ║ ║ ║ ╠══╣ ║ ║ ╠═ ▓─┼─▓─┼─▓─┼─╫╫╢
╟╫╫─▓─┼─▓─┼─▓─┼ ╩ ═╩═ ╝ ╚═╝ ╝ ╚═╝ ╩ ╩ ╚══╝ ╩══╝ ╩══╝ ┼─▓─┼─▓─┼─▓─╫╫╢
╟╫╫─┼─▓─┼─▓─┼─▓ ╔══╗ ╔══╗ ╦══╗ ╔═╦═╗ ╗ ╔ ╔══╗ ╦══╗ ╦══╗ ▓─┼─▓─┼─▓─┼─╫╫╢
╟╫╫─▓─┼─▓─┼─▓─┼ ╚══╗ ║ ║ ╠═ ║ ║ ║ ║ ╠══╣ ╠═╦╝ ╠═ ┼─▓─┼─▓─┼─▓─╫╫╢
╟╫╫─┼─▓─┼─▓─┼─▓ ╚══╝ ╚══╝ ╩ ╩ ╚═╩═╝ ╩ ╩ ╩ ╚╝ ╩══╝ ▓─┼─▓─┼─▓─┼─╫╫╢
╟╫╫─▓─┼─▓─┼─▓─┼ P.O. Box 163 Cartierville, Quebec H4K 2J5 ┼─▓─┼─▓─┼─▓─╫╫╢
╚╩╩═╧═╧═╧═╧═╧═╧═══════════════════════════════════════════════╧═╧═╧═╧═╧═╧═╩╩╝
REMEMBER: Send us $25 and get a whole bunch of really great software.
And be sure to phone us if one day PRESERVE saves you from a total disaster!