home *** CD-ROM | disk | FTP | other *** search
- @echo off
- cls
- if %1@==@ goto WrongParam
- if %1==c: goto WrongParam
- if %1==C: goto WrongParam
- if %1==d: goto WrongParam
- if %1==D: goto WrongParam
- if %1==e: goto WrongParam
- if %1==E: goto WrongParam
- if %1==f: goto WrongParam
- if %1==F: goto WrongParam
- if %1==g: goto WrongParam
- if %1==G: goto WrongParam
- if %1==h: goto WrongParam
- if %1==H: goto WrongParam
-
- if %2@==@ goto WrongParam
- if %2==a: goto WrongParam
- if %2==A: goto WrongParam
- if %2==b: goto WrongParam
- if %2==B: goto WrongParam
-
- if %1==a goto WrongParam
- if %1==b goto WrongParam
- if %1==A goto WrongParam
- if %1==B goto WrongParam
-
- if %1==%2 goto WrongParam
- echo Testing for target drive %2
- type nul > %2drive.$$$
- %2
- if not exist drive.$$$ goto startagain
- del drive.$$$
- cls
- echo ╔═══════════════ Published by IRIS Software Products tm ═══════════════════╗
- echo ║ ║
- echo ║ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ║
- echo ║ ▀▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ║
- echo ║ ▀▀▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀ ▀▀▀ ▀▀▀ ║
- echo ║ ▀▀▀▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀▀▀ ▀▀▀ ▀▀▀ ║
- echo ║ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ║
- echo ║ ▀▀▀ ▀▀▀▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀▀▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀▀▀▀▀▀▀ ▀▀▀ ▀▀▀ ║
- echo ║ ▀▀▀ ▀▀▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ║
- echo ║ ▀▀▀ ▀▀▀▀ ▀▀▀▀▀▀▀▀▀ ▀▀▀ ▀▀▀▀▀▀▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀▀▀▀▀▀▀ ▀▀▀ ▀▀▀ ║
- echo ║ ▀▀▀ ▀▀▀ ▀▀▀▀▀▀▀ ▀▀▀ ▀▀▀▀▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀▀▀▀▀ ▀▀▀ ▀▀▀ ║
- echo ║ ║
- echo ║ ▀▀▀▀▀▀▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ║
- echo ║ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ║
- echo ║ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀▀▀▀▀ ▀▀▀ ▀▀▀ ║
- echo ║ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀▀▀▀▀▀▀ ▀▀▀ ▀▀▀ ║
- echo ║ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ║
- echo ║ ▀▀▀▀▀▀▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀▀▀▀▀ ▀▀▀ ▀▀▀ ║
- echo ║ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ║
- echo ║ ▀▀▀ ▀▀▀ ▀▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀▀▀ ▀▀▀ ▀▀▀ ║
- echo ║ ▀▀▀ ▀▀▀ ▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀ ║
- echo ╚═══════════════════════════════════════════════════════════════════════════╝
- echo To begin installation procedure
- pause
- cls
- echo ╔════════════════════════════════════════════════════════════════════════════╗
- echo ║ This installation procedure will create a directory called ║
- echo ║ NUTPLUS on your hard disk drive and copy the system files for ║
- echo ║ Nutshell Plus II, the Tour, and the Nutshell Plus file Utilities. ║
- echo ║ ║
- echo ║ You may interrupt this procedure at any time by typing a ║
- echo ║ "Ctrl-C". If a nutplus subdirectory already exists on the ║
- echo ║ hard drive partition which you have designated and you already ║
- echo ║ have Nutshell Plus system files there they will be overwritten. ║
- echo ║ If you wish to make backup copies of those system files, you may ║
- echo ║ interrupt this procedure now. This procedure will not overwrite ║
- echo ║ any existing ".db" files, but keeping backup copies of all ║
- echo ║ database files is highly recommended. ║
- echo ║ ║
- echo ║ When Nutshell Plus II has been installed on your hard drive you ║
- echo ║ may wish to make a backup copy of your Nutshell Plus II system disks ║
- echo ║ using the DOS diskcopy command. Before beginning the diskcopy we ║
- echo ║ suggest that you place a write protect tab over the notch on your ║
- echo ║ system disks. Consult your operating system manual for more ║
- echo ║ information about the diskcopy procedure. ║
- echo ╚════════════════════════════════════════════════════════════════════════════╝
- echo To terminate this installation procedure now type "Ctrl-C", otherwise
- pause
- cls
- echo Making Nutplus Directory
- md %2\nutplus
- echo If directory already existed ignore message above
- cd %2\nutplus
- echo Copying...
- if exist nutplus.hlp del nutplus.hlp
- copy/b %1\*.* %2\nutplus
- if not exist nututils.exe goto copyerror
- if exist nutplus.hlp goto continue
- :COPYERROR
- echo ╔══════════════════════════════════════════════════════════╗
- echo ║ Sorry, a problem occurred while copying the files! ║
- echo ║ Please check both drive selections and try again.║
- echo ╚══════════════════════════════════════════════════════════╝
- pause
- goto wrongparam
- :STARTAGAIN
- del %2drive.$$$
- cls
- echo ╔════════════════════════════════════════════════════════════════════════════╗
- echo ║ ║
- echo ║ ║
- echo ║ ║
- echo ║ ║
- echo ║ ║
- echo ║ ║
- echo ║ ║
- echo ║ ║
- echo ║ ║
- echo ║ ║
- echo ║ Sorry, the TARGET DRIVE which you have selected cannot be found ! ║
- echo ║ Please select another and try again. ║
- echo ║ ║
- echo ║ ║
- echo ║ ║
- echo ║ ║
- echo ║ ║
- echo ║ ║
- echo ║ ║
- echo ║ ║
- echo ╚════════════════════════════════════════════════════════════════════════════╝
- pause
- :WRONGPARAM
- cls
- echo You have entered: %0 %1 %2 ──┘
- echo ╔════════════════════════════════════════════════════════════════════════════╗
- echo ║ To run this installation procedure, log onto the floppy drive and type: ║
- echo ║ ║
- echo ║ INSTALL source_drive target_drive──┘ ║
- echo ║ ║
- echo ║ For example, if your floppy drive is A and you wish to install ║
- echo ║ Nutshell Plus II on the C partition of your hard disk drive, then you ║
- echo ║ may either log onto your floppy drive by entering "A:" at the next ║
- echo ║ command line then enter the following command: ║
- echo ║ ║
- echo ║ INSTALL A: C:──┘ ║
- echo ║ ║
- echo ║ Or, simply type at the C Prompt: ║
- echo ║ ║
- echo ║ A:INSTALL A: C:──┘ ║
- echo ║ ║
- echo ║ Hint: This installation will allow you to install from either floppy ║
- echo ║ drive A or B, and to any Partition on your hard disk drive from ║
- echo ║ C: ... H:. ║
- echo ║ ║
- echo ╚════════════════════════════════════════════════════════════════════════════╝
- pause
- cls
- goto end
- :CONTINUE
- instalx %1 %2
- :END