INSTRUCTIONS FOR CREATING A BETTER HERDSOFT BACKUP AND RESTORE SEQUENCE. ======================================================================== The HerdSoft program relied on Microsoft's BACKUP and RESTORE commands to put backup copies of the HerdSoft data onto diskette. Unfortunately BACKUP and RESTORE were phased out after MSDOS 5.0. PKZIP offers a viable alternative to Microsoft's BACKUP and RESTORE and can be implemented in a few minutes by applying these steps: 1. Get a copy of PKZIP and PKUNZIP and copy these programs to a subdirectory (AKA. folder) that's in your PATH variable. If you use Windows 95/98, copy them to the "\WINDOWS\COMMAND" folder. If you use (the older) MSDOS, you may find a "\DOS"subdirectory in your path. Incidentally, you can download PKZIP from this web site; it's named "PKZ204G.EXE" and, when run, will expand itself into the current subdirectory producing "PKZIP.EXE" and "PKUNZIP.EXE". And it needs mentioning that PKZ204G.EXE is 202,624 bytes long (just in case someone hacks this web site). 2. Modify the batch (BAT) file that starts HerdSoft. Normally this file will be located in the root of drive C: and called "HMS.BAT" but it could potentially be named something else. Once you locate the batch file, edit it and change the lines containing the BACKUP and RESTORE commands to PKZIP and PKUNZIP respectively. A sample of the batch file follows so you can copy the exact command syntax but you must match the hard drive letter (ie. C:), the subdirectory and the backup floppy drive to your particular installation. The following batch file is for an installation where HerdSoft resides in "C:\HMS" and backup sets are created on the A: drive. If you HerdSoft resides on a different drive and/or subdirectory and/or your backup drive is not A: then you will have to use the following batch file as a template and extrapolate based on your particular installation. The batch file that starts HerdSoft: ECHO OFF CLS ECHO H E R D M A N A G E M E N T S Y S T E M S, Inc. ECHO ------------------------------------------------------------ ECHO IMPORTANT: Please verify that the date and time are correct. ECHO ------------------------------------------------------------ DATE ECHO - TIME CLS VER C: CD \HMS CD PATH ECHO Loading Btrieve. BTRIEVE /P:1024 BASXFACE BSEG.ADR :START ECHO Loading BASIC Interpreter. IBASIC HMLOGO /F:15/S:512 IF NOT EXIST FORM.FLG GOTO SKIP1 DEL FORM.FLG FORMAT A: GOTO START :SKIP1 IF NOT EXIST RES.FLG GOTO SKIP2 DEL RES.FLG rem ** RESTORE A: C:\HMS\*.* PKUNZIP -d -o A:\HERDSOFT C:\HMS GOTO START :SKIP2 IF NOT EXIST BAC.FLG GOTO SKIP3 DEL BAC.FLG rem ** BACKUP C:\HMS\*.* A: PKZIP -rp -&w A:\HERDSOFT C:\HMS\*.* GOTO START :SKIP3 REM End of HMS CD\