home *** CD-ROM | disk | FTP | other *** search
- Echo "ProWrite 3.2.2UK to 3.2.4UK patch script"
- Echo "written by Mark Thomas"
- Echo "*NCopyright 1992 New Horizons Software, Inc."
- Echo "The new file created by this patch"
- Echo "is covered by the same licensing agreement"
- Echo "as the old program from which the patched"
- Echo "file is being made."
- Echo "*N Checking for ProWrite program..."
- If NOT EXISTS ProWrite
- Echo " The ProWrite program does not appear"
- Echo " to be in this directory. Please read"
- Echo " the file PW_Patch_Readme for further"
- Echo " instructions."
- Skip cleanup
- Else
- Echo " Found ProWrite."
- Endif
- Echo " Checking ProWrite version..." NOLINE
- List >T:pw.ver ProWrite
- Search >NIL: T:pw.ver 290252
- If WARN
- Search >NIL: T:pw.ver 292000
- If WARN
- Search >NIL: T:pw.ver 292452
- If WARN
- Echo "*N This ProWrite may not be version 3.2.2UK,*N or 3.2.3UK."
- Echo " This may be the result of using a file packer program."
- Echo " You may try applying the patch to the original file."
- Echo "*NContact New Horizons Software, Inc."
- Echo "for further assistance."
- Echo "(512)328-6650"
- Else
- Echo "3.2.4UK*N This ProWrite file is already version 3.2.4UK."
- Endif
- Else
- Echo "3.2.3UK*N This patch will not work on your program."
- Echo " You need to use the 3.2.3UK to 3.2.4UK patch archive."
- Endif
- Else
- Echo "3.2.2UK*N Renaming the old ProWrite..."
- Rename >NIL: ProWrite ProWrite.old
- Echo " Patching ProWrite 3.2.2UK..."
- Lpatch >NIL: -oProWrite -pPW322-324UK.pch ProWrite.old
- Echo " Removing old version of ProWrite file..."
- Delete >NIL: ProWrite.old
- EndIf
-
- LAB cleanup
- Echo "*N Cleaning up..."
- Delete >NIL: T:pw.ver
- Echo " Finished."
- Wait 10
- Endcli