home *** CD-ROM | disk | FTP | other *** search
- : BRAND4.BTM
- :
- : Batch file to use a valid 4DOS3.x BRAND.EXE with 4DOS 4.0
- : Please see file README.DOC for usage.
- :
- @echo off
- *setlocal^unalias *^unset *^cls
- echo %@upper[%0]:
- :
- text
-
- This batch file will allow you to use a valid 4DOS version 3 BRAND.EXE
- on the 4DOS 4.0 file 4DOS.COM. Please see README.DOC in your 4DOS 4.0
- documentation for details of usage.
-
- ■ BRAND.EXE must be in the current directory
- ■ 4DOS.COM version 4.x must be in the current directory
- endtext
- if "%_4ver" ne "" echo ` `■ Obsolete files 4DOS88.EXE and 4DOS286.EXE must not be present
- text
-
- When BRAND prompts for a serial number, you must use the 6-digit serial
- number from the label of your version 3 registered disk.
-
- endtext
- iff not exist brand.exe then
- echo ` `Missing BRAND.EXE !^ goto 9
- elseiff "%_4ver" ne "" then
- iff %@date[%@filedate[4dos.com]]. lt 4320. .or. %@filesize[4dos.com,k]. lt 100. then
- echo ` `Missing or invalid 4DOS.COM ! ^goto 9
- elseiff exist 4dos88.exe .or. exist 4dos286.exe then
- echo ` `4DOS88.EXE and/or 4DOS286.EXE found ! - Aborting ^ goto 9
- endiff
- elseiff not exist 4dos.com then
- echo ` `Missing 4DOS.COM ! ^goto 9
- endiff
- if exist 4dos286.exe ren /q 4dos286.exe *.jps
- ren /q 4dos.com 4dos286.exe || goto 8
- brand.exe
- ren /q 4dos286.exe 4dos.com || goto 8
- if exist 4dos286.old ren /q 4dos286.jps *.exe
- text
-
- If you see the messages:
-
- "Cannot brand 4DOS88.EXE"
- "4DOS286.EXE branded successfully"
-
- above, your copy of 4DOS 4.0 has been branded properly. If BRAND gave
- you a "brand installation error", it may be because you were not
- eligible for another free upgrade. See README.DOC for information on
- upgrade eligiblity. If you see no message from BRAND at all, you
- entered an incorrect serial number.
-
- endtext
- quit
- :8
- echo ` `Could not rename 4DOS.COM !
- :9
- beep ^ echo ` `Correct the problem and try again.
- :
- : provided by JP Software, PO Box 1470, E.Arlington, MA 02174, USA
-
-